[jboss-user] [JBossWS] - Re: Problem importing multiple schema from the same namespac
Didi1976
do-not-reply at jboss.com
Tue Jan 22 04:57:01 EST 2008
I checked the WSDL-2.0 spec at http://www.w3.org/TR/wsdl20/.
anonymous wrote :
| 3.1.2 Inlining XML Schema
| ...
| A WSDL 2.0 document MAY inline two or more schemas from the same targetNamespace. For example, two or more inlined schemas can have the same targetNamespace provided that they do not define the same elements or types. A WSDL 2.0 document MUST NOT define the same element or type in more than one inlined schema.
| ...
|
The server.log shows that only the last inlined schema seems to be recognized / remembered (see TypesMetaData):
| UnifiedMetaData:
| implementation: jbossws-native-2.0.1.SP2 (build=200710210837)
| deploymentName: null
| securityDomain: null
|
| ServiceMetaData:
| qname={http://www.openuri.org/}testAllParts
| refName=null
| wsdName=null
| wsdlFile=null
| wsdlLocation=file:/home/scd/workspace/TestWSDL/src/wsdl/testAllParts.wsdl
| jaxrpcMapping=null
| publishLocation=null
| securityConfig=null
| properties=null
|
| TypesMetaData:
| <schema targetNamespace='http://test.softsolution.at' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='http://www.openuri.org/' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.softsolution.at' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <import namespace='http://www.openuri.org/'/>
| <element name='PartB'>
| <complexType>
| <sequence>
| <element name='ElementC' type='string'/>
| <element name='ElementD' type='long'/>
| </sequence>
| </complexType>
| </element>
| </schema>
| <schema targetNamespace='http://www.openuri.org/' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns1='http://test.softsolution.at' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://www.openuri.org/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <import namespace='http://test.softsolution.at'/>
| <element name='clientRequest'>
| <complexType>
| <sequence/>
| </complexType>
| </element>
| <element name='clientRequestResponse'>
| <complexType/>
| </element>
| </schema>
|
|
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://www.openuri.org/}testAllPartsSoap
| address=http://xpscd:7001/TestWeb/testAllParts.jpd
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://www.openuri.org/}clientRequest
| javaName={http://www.openuri.org/}clientRequest
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=http://www.openuri.org/clientRequest
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122099#4122099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122099
More information about the jboss-user
mailing list