WS receiving a message that including a Schema within another sche
- From: jim <jim@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 5 Nov 2006 19:12:01 -0800
WS receiving a message that including a Schema within another schema (WSE2.0)
Hi,
I have a orchestration published as a WSE 2.0 Web Service. The message being
passed through th Web Server method is a Schema:
OUTER SCHEMA:
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns:nsIS="http://sample.InnerSchema" xmlns="http:// sample.OuterSchema"
targetNamespace="http:// sample.OuterSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation=".\InnerSchema.xsd"
namespace="http://InnerSchema.InnerSchema " />
<xs:annotation>
<xs:appinfo>
<b:references>
<b:reference targetNamespace="http://InnerSchema.StdInfo" />
</b:references>
</xs:appinfo>
</xs:annotation>
<xs:element name="InnerSchemaDataNode">
<xs:complexType>
<xs:sequence>
<xs:element name="Name">
<xs:complexType />
</xs:element>
<xs:element ref="nsIS: InnerSchema" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
INNER SCHEMA:
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns="http://sample.InnerSchema" targetNamespace="http://sample.InnerSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name=" InnerSchema">
<xs:complexType>
<xs:sequence>
<xs:element name="Username">
<xs:complexType />
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Message instance sent into BizTalk via the WSE 2.0 Web Service:
<ns0:OuterSchema xmlns:ns0="http://sample.OuterSchema">
<Name />
<Age>Age_0</Age>
<ns1: InnerSchema xmlns:ns1="http://sample.InnerSchema">
<Username />
</ns1: InnerSchema >
</ns0:OuterSchema >
I get the an error:
failed to load. Verify the schema for this document specification is
deployed and is in the Global Assembly Cache.
Is the anything special you need to do when passing XML documents that
include other xml documents?
Can any one point me in the direction of a WSE 2.0 example that passes XML
documents the are based on schemas that include other schemas.
.
- Prev by Date: Re: Business Rules Composer Oddness
- Next by Date: WSE 2.0: passing an XML document which includes another schema
- Previous by thread: Re: Business Rules Composer Oddness
- Next by thread: WSE 2.0: passing an XML document which includes another schema
- Index(es):
Relevant Pages
|