WS receiving a message that including a Schema within another sche



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.

.



Relevant Pages

  • Re: Consuming Web Service without Web Reference
    ... Eventhough I extracted schema from WSDL iam not able to call the web service. ... calling a web service than creating an xml and pushing it to the SOAP adapter. ... still have to generate a proxy and configure it in your send port. ...
    (microsoft.public.biztalk.general)
  • Re: returning strongly typed dataset from web service
    ... The proxy created by VS.NET is a proxy class to the web service class and ... exposes the web service class's web methods. ... now permits the typed datasets to be created in the proxy. ... System.Data.Design.TypedDataSetSchemaImporterExtension schema importer ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Web Services Publishing Wizard
    ... If you take the same schema and run it through xsd.exe to produce classes ... the instance document may still be transformed ... Subject: Web Services Publishing Wizard ... After running the Web Service Wizard for BizTalk, ...
    (microsoft.public.biztalk.general)
  • Re: Mapping results of a web service
    ... Thanks for the response. ... web service is where I placed the transform shape. ... allowing me to select it as the source schema for the mapping. ...
    (microsoft.public.biztalk.general)
  • Re: returning strongly typed dataset from web service
    ... The typed-dataset is the class and the XSD is simply an XML representation ... The proxy created by VS.NET is a proxy class to the web service class and ... now permits the typed datasets to be created in the proxy. ... System.Data.Design.TypedDataSetSchemaImporterExtension schema importer ...
    (microsoft.public.dotnet.framework.aspnet.webservices)