Skip to main content

WebService Definition

4 replies [Last post]
pericopalotes
Offline
Joined: 2007-08-10
Points: 0

Hi all, I'm analizing the WebServices of an application with the Mindreef SOAPscope tool. I'm trying to make those WebServices be compatible
with "WS-I Basic Profile 1.0" and "WS-I Basic Profile 1.1 + SOAP Binding Profile 1.0" but I'm finding several flaws I would like to correct. I have
solved the ones I knew but there are some I dont know how to fix. For example:

<br />
XSD Schema Validation<br />
XSD Validation<br />
Category: Basic Quality Check</p>
<p>Schema validation error on node xsd:element<br />
Error resolving component 'ns2:CH3UnknownCodeSystem'. It was detected that 'ns2:CH3UnknownCodeSystem' is in namespace<br />
'http://exception.vapi.cts.ch3.maiden.com', but components from this namespace are not referenceable from schema document<br />
'http://server:8080/cts/services/VocabularyBrowserService?WSDL&mindreefFragmentId=622604'. If this is the incorrect namespace, perhaps<br />
the prefix of 'ns2:CH3UnknownCodeSystem' needs to be changed. If this is the correct namespace, then an appropriate<br />
'import' tag should be added to 'http://server:8080/cts/services/VocabularyBrowserService?WSDL&mindreefFragmentId=622604'.<br />

And the xml of the wsdl file generated for the server is:

</p>
<p>...</p>
<p>...<br />

I should edit the wsdd file I suppose but I'm not sure how to fix the namespace trouble from there. All the help will be appreciated, thanks ;).

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
benberry
Offline
Joined: 2007-08-10
Points: 0

Hi Pericopalotes,

Looking at that analysis error it looks like your wsdl has schema imports. Is this accurate or is there only the wsdl file and all the schema is embedded? Can you post the whole wsdl? Or even better the workspace file?

Ben

pericopalotes
Offline
Joined: 2007-08-10
Points: 0

All the info is inside the wsdl, that is generated by Axis, here it is:

[code]
******************************************************************************************************

xmlns:ns1="http://CTSVAPI.hl7.org"
xmlns:ns2="http://exception.vapi.cts.ch3.maiden.com"
xmlns:ns3="http://exception.cts.ch3.maiden.com"
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding"
mlns:tns="http://vapi.cts.ch3.maiden.com"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://vapi.cts.ch3.maiden.com">

elementFormDefault="qualified" attributeFormDefault="qualified">


nillable="true" />
nillable="true" />



minOccurs="0" maxOccurs="unbounded" />





nillable="true" />
nillable="true" />
minOccurs="0" nillable="true" />

minOccurs="0" nillable="true" />




nillable="true" />
nillable="true" />
nillable="true" />
minOccurs="0" nillable="true" />
minOccurs="0" nillable="true" />
minOccurs="0" nillable="true" />
minOccurs="0" nillable="true" />



nillable="true" minOccurs="0" maxOccurs="unbounded" />




nillable="true" />
nillable="true" />
minOccurs="0" />




nillable="true" minOccurs="0" maxOccurs="unbounded" />




nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />




nillable="true" minOccurs="0" maxOccurs="unbounded" />




minOccurs="0" nillable="true" />
minOccurs="0" nillable="true" />
minOccurs="0" nillable="true" />
minOccurs="0" nillable="true" />



elementFormDefault="qualified" attributeFormDefault="qualified">









minOccurs="0" maxOccurs="unbounded" />




type="ns2:CH3UnknownRelationshipCode" />




type="ns1:CompleteCodedConceptDescription" />


elementFormDefault="qualified" attributeFormDefault="qualified">


nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />




nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />




nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />




nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />




nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />




nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />



elementFormDefault="qualified" attributeFormDefault="qualified">


nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />
nillable="true" />





name="CH3UnknownRelationshipCode" />






























name="lookupCompleteCodedConceptout" />






name="lookupCodeExpansionRequest" />
name="lookupCodeExpansionResponse" />

name="CH3UnknownRelationshipCode" />
name="CH3UnknownLanguageCode" />





name="lookupCompleteCodedConceptRequest" />
name="lookupCompleteCodedConceptResponse" />





type="tns:ICTSVAPIBrowserOperationsPortType">
transport="http://schemas.xmlsoap.org/soap/http" />










































name="ICTSVAPIBrowserOperationsHttpPort">
location="http://myserver:8080/cts/services/VocabularyBrowserService" />


[/code]

This wsdl is generated by a wsdd in Axis, i post now the wsdd file (new reply cause too large). The wsdl is working but cant be validated with WS-I Basi Profile 1.1 + SOAP Binding Profile 1.0 and should be.

pericopalotes
Offline
Joined: 2007-08-10
Points: 0

The wsdd file i am using:

[code]

xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

use="literal">

value="urn://hl7.org/CTSMAPI,urn://cts.hl7.org/types"/>
value="com.maiden.ch3.cts.mapi.CTSMAPIRuntimeServiceBean"/>

xmlns:operNS="urn://hl7.org/CTSMAPI" returnQName="retNS:translateCodeReturn"
xmlns:retNS="urn://hl7.org/CTSMAPI" returnType="rtns:CD"
xmlns:rtns="urn://cts.hl7.org/types" soapAction="" >

type="tns:ST" xmlns:tns="urn://cts.hl7.org/types"/>
type="tns:CD" xmlns:tns="urn://cts.hl7.org/types"/>
type="tns:UID" xmlns:tns="urn://cts.hl7.org/types"/>
type="tns:ST" xmlns:tns="urn://cts.hl7.org/types"/>
xmlns:fns="urn://hl7.org/CTSMAPI"
class="com.maiden.ch3.cts.mapi.exception.CH3UnexpectedError"
type="tns:UnexpectedError" xmlns:tns="urn://hl7.org/CTSMAPI"/>
xmlns:fns="urn://hl7.org/CTSMAPI"
class="com.maiden.ch3.cts.mapi.exception.CH3UnableToTranslate"
type="tns:UnableToTranslate" xmlns:tns="urn://hl7.org/CTSMAPI"/>
xmlns:fns="urn://hl7.org/CTSMAPI"
class="com.maiden.ch3.cts.mapi.exception.CH3UnknownCodeSystem"
type="tns:UnknownCodeSystem" xmlns:tns="urn://hl7.org/CTSMAPI"/>
xmlns:fns="urn://hl7.org/CTSMAPI"
class="com.maiden.ch3.cts.mapi.exception.CH3UnknownApplicationContextCode"
type="tns:UnknownApplicationContextCode" xmlns:tns="urn://hl7.org/CTSMAPI"/>
xmlns:fns="urn://hl7.org/CTSMAPI"
class="com.maiden.ch3.cts.mapi.CH3UnknownVocabularyDomain"
type="tns:UnknownVocabularyDomain" xmlns:tns="urn://hl7.org/CTSMAPI"/>

xmlns:operNS="urn://hl7.org/CTSMAPI"
returnQName="retNS:getServiceNameReturn" xmlns:retNS="urn://hl7.org/CTSMAPI"
returnType="rtns:ST" xmlns:rtns="urn://cts.hl7.org/types" soapAction="" >
xmlns:fns="urn://hl7.org/CTSMAPI"
class="com.maiden.ch3.cts.mapi.exception.CH3UnexpectedError"
type="tns:UnexpectedError" xmlns:tns="urn://hl7.org/CTSMAPI"/>

xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnknownMatchAlgorithm"
type="java:org.hl7.CTSMAPI.UnknownMatchAlgorithm"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>

xmlns:ns="urn://cts.hl7.org/types"
qname="ns:CS"
type="java:org.hl7.cts.types.CS"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnexpectedError"
type="java:com.maiden.ch3.cts.mapi.exception.CH3UnexpectedError"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnrecognizedQualifier"
type="java:org.hl7.CTSMAPI.UnrecognizedQualifier"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:CD"
type="java:org.hl7.cts.types.CD"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ConceptId"
type="java:org.hl7.CTSMAPI.ConceptId"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnknownConceptCode"
type="java:com.maiden.ch3.cts.mapi.exception.CH3UnknownConceptCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ValueSetDescriptor"
type="java:org.hl7.CTSMAPI.ValueSetDescriptor"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnknownCodeSystem"
type="java:com.maiden.ch3.cts.mapi.exception.CH3UnknownCodeSystem"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnableToTranslate"
type="java:com.maiden.ch3.cts.mapi.exception.CH3UnableToTranslate"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ArrayOf_tns2_ED"
type="java:org.hl7.cts.types.ED[]"
innerType="cmp-ns:ED" xmlns:cmp-ns="urn://cts.hl7.org/types"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ArrayOfValidationDetail"
type="java:org.hl7.CTSMAPI.ValidationDetail[]"
innerType="cmp-ns:ValidationDetail" xmlns:cmp-ns="urn://hl7.org/CTSMAPI"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:TimeoutError"
type="java:org.hl7.CTSMAPI.TimeoutError"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ValidationDetail"
type="java:org.hl7.CTSMAPI.ValidationDetail"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:INT"
type="java:org.hl7.cts.types.INT"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ArrayOf_tns2_CD"
type="java:org.hl7.cts.types.CD[]"
innerType="cmp-ns:CD" xmlns:cmp-ns="urn://cts.hl7.org/types"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:CTSVersionId"
type="java:org.hl7.CTSMAPI.CTSVersionId"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:UID"
type="java:org.hl7.cts.types.UID"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ValidateCodeReturn"
type="java:org.hl7.CTSMAPI.ValidateCodeReturn"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ArrayOf_tns2_CR"
type="java:org.hl7.cts.types.CR[]"
innerType="cmp-ns:CR" xmlns:cmp-ns="urn://cts.hl7.org/types"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:InvalidExpansionContext"
type="java:org.hl7.CTSMAPI.InvalidExpansionContext"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnknownLanguage"
type="java:org.hl7.CTSMAPI.UnknownLanguage"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:NoApplicableDesignationFound"
type="java:org.hl7.CTSMAPI.NoApplicableDesignationFound"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnknownApplicationContextCode"
type="java:com.maiden.ch3.cts.mapi.exception.CH3UnknownApplicationContextCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:binary_or_text"
type="java:org.hl7.cts.types.Binary_or_text"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:ST"
type="java:org.hl7.cts.types.ST"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:QualifiersNotSupported"
type="java:org.hl7.CTSMAPI.QualifiersNotSupported"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:CV"
type="java:org.hl7.cts.types.CV"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:NoApplicableValueSet"
type="java:org.hl7.CTSMAPI.NoApplicableValueSet"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:CR"
type="java:org.hl7.cts.types.CR"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:ValueSetExpansion"
type="java:org.hl7.CTSMAPI.ValueSetExpansion"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:SubsumptionNotSupported"
type="java:org.hl7.CTSMAPI.SubsumptionNotSupported"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:BadlyFormedMatchText"
type="java:org.hl7.CTSMAPI.BadlyFormedMatchText"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:ED"
type="java:org.hl7.cts.types.ED"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSMAPI"
qname="ns:UnknownVocabularyDomain"
type="java:com.maiden.ch3.cts.mapi.exception.CH3UnknownVocabularyDomain"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://cts.hl7.org/types"
qname="ns:BL"
type="java:org.hl7.cts.types.BL"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>

use="literal">

value="edu.mayo.informatics.cts.CTSVAPI.sql.refImpl.BrowserOperationsImpl"/>
qname="operNS:lookupCompleteCodedConcept"
xmlns:operNS="urn://hl7.org/CTSVAPI"
returnQName="retNS:lookupCompleteCodedConceptReturn"
xmlns:retNS="urn://hl7.org/CTSVAPI"
returnType="rtns:CompleteCodedConceptDescription"
xmlns:rtns="urn://hl7.org/CTSVAPI" soapAction="" >

type="tns:ConceptId" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnexpectedError"
type="tns:UnexpectedError" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnknownConceptCode"
type="tns:UnknownConceptCode" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnknownCodeSystem"
type="tns:UnknownCodeSystem" xmlns:tns="urn://hl7.org/CTSVAPI"/>

xmlns:operNS="urn://hl7.org/CTSVAPI"
returnQName="retNS:lookupCodeExpansionReturn"
xmlns:retNS="urn://hl7.org/CTSVAPI" returnType="rtns:RelatedCode"
xmlns:rtns="urn://hl7.org/CTSVAPI" soapAction="" >

type="tns:ConceptId" xmlns:tns="urn://hl7.org/CTSVAPI"/>
type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
type="tns:boolean" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
xmlns:pns="urn://hl7.org/CTSVAPI" type="tns:string"
xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
type="tns:int" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
type="tns:int" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.vapi.browser.client.CH3UnknownRelationshipCode"
type="tns:UnknownRelationshipCode" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnexpectedError"
type="tns:UnexpectedError" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnknownConceptCode"
type="tns:UnknownConceptCode" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnknownCodeSystem"
type="tns:UnknownCodeSystem" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3TimeoutError"
type="tns:TimeoutError" xmlns:tns="urn://hl7.org/CTSVAPI"/>
xmlns:fns="urn://hl7.org/CTSVAPI"
class="com.maiden.ch3.cts.vapi.exception.CH3UnknownLanguageCode"
type="tns:UnknownLanguageCode" xmlns:tns="urn://hl7.org/CTSVAPI"/>

xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:CTSVersionId"
type="java:org.hl7.CTSVAPI.CTSVersionId"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownPropertyCode"
type="java:org.hl7.CTSVAPI.UnknownPropertyCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ArrayOfConceptDesignation"
type="java:org.hl7.CTSVAPI.ConceptDesignation[]"
innerType="cmp-ns:ConceptDesignation" xmlns:cmp-ns="urn://hl7.org/CTSVAPI"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownRelationshipCode"
type="java:org.hl7.CTSVAPI.UnknownRelationshipCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownLanguageCode"
type="java:com.maiden.ch3.cts.vapi.exception.CH3UnknownLanguageCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownConceptCode"
type="java:com.maiden.ch3.cts.vapi.exception.CH3UnknownConceptCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnexpectedError"
type="java:com.maiden.ch3.cts.vapi.exception.CH3UnexpectedError"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownCodeSystem"
type="java:com.maiden.ch3.cts.vapi.exception.CH3UnknownCodeSystem"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownMimeTypeCode"
type="java:org.hl7.CTSVAPI.UnknownMimeTypeCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:TimeoutError"
type="java:com.maiden.ch3.cts.vapi.exception.CH3TimeoutError"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ConceptProperty"
type="java:org.hl7.CTSVAPI.ConceptProperty"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:InvalidExpansionContext"
type="java:org.hl7.CTSVAPI.InvalidExpansionContext"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ConceptId"
type="java:org.hl7.CTSVAPI.ConceptId"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ConceptRelationship"
type="java:org.hl7.CTSVAPI.ConceptRelationship"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:UnknownMatchAlgorithm"
type="java:org.hl7.CTSVAPI.UnknownMatchAlgorithm"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ArrayOfConceptRelationship"
type="java:org.hl7.CTSVAPI.ConceptRelationship[]"
innerType="cmp-ns:ConceptRelationship" xmlns:cmp-ns="urn://hl7.org/CTSVAPI"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ConceptDesignation"
type="java:org.hl7.CTSVAPI.ConceptDesignation"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ArrayOf_xsd_string"
type="java:java.lang.String[]"
innerType="cmp-ns:string" xmlns:cmp-ns="http://www.w3.org/2001/XMLSchema"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:CodeSystemIdAndVersions"
type="java:org.hl7.CTSVAPI.CodeSystemIdAndVersions"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:CompleteCodedConceptDescription"
type="java:org.hl7.CTSVAPI.CompleteCodedConceptDescription"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:ArrayOfConceptProperty"
type="java:org.hl7.CTSVAPI.ConceptProperty[]"
innerType="cmp-ns:ConceptProperty" xmlns:cmp-ns="urn://hl7.org/CTSVAPI"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:RelatedCode"
type="java:org.hl7.CTSVAPI.RelatedCode"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
xmlns:ns="urn://hl7.org/CTSVAPI"
qname="ns:BadlyFormedMatchText"
type="java:org.hl7.CTSVAPI.BadlyFormedMatchText"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>

[/code]

adamconroy
Offline
Joined: 2007-08-22
Points: 0

Hi pericopalotes,

I ran your WSDL against the WS-I static testing tool built into SOAPscope and found a failure that you could easily fix:

[i]Assertion: BP2111
Result failed
Failure Message One or more soapbind:body element(s) in a document-literal soap:binding does not have at most one part listed in the parts attribute.
Failure Detail Message

{http://schemas.xmlsoap.org/wsdl/soap/}body[/i]

To learn more about this, read this article on the different types of WSDL: http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/

The easiest solution would be to resolve the multiple part reference by fully adopting a proper Doc-Lit definition.

The other solution is to use Doc-Lit Wrapped which allows you, through schema, to effectively have multiple children of body and sort out your multiple part issue.

Both ways are fully WS-I compliant.

The failure with the namespaces seems to stem from the multiple schema definitions and the analysis being unable to resolve the types across them. I would try flattening these type definitions into a single schema and see if that resolves the issue. The easiest way to do this is for each namespace that you want to define, put that schema into its own file and import it. I believe that this will resolve your issue and make your WSDL fully WS-I compliant.

Let me know how it works out and if this is enough guidance, I can provide more assistance if this is not sufficient.

Adam Conroy
Mindreef Inc.