Hi,
I have a IS service which have 3 input(String type) and 1 documentList which contain 3 fields as output.(DocumentList name IT_RATES) which i have given by referring an existing IS document.
I have created a Provider webservice descriptor- and generated the WSDL.
In the WSDL I find the below been created…
<xsd:complexType name=“exchangeRateRequest”>
xsd:sequence
<xsd:element name=“fromCurrency” nillable=“true” type=“xsd:string” minOccurs=“0” />
<xsd:element name=“toCurrency” nillable=“true” type=“xsd:string” minOccurs=“0” />
<xsd:element name=“requestDate” nillable=“true” type=“xsd:string” minOccurs=“0” />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name=“exchangeRateResponse”>
xsd:sequence
<xsd:element name=“IT_RATES” nillable=“true” type=“tns:ArrayOfIT_RATES” />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name=“IT_RATES”>
xsd:sequence
<xsd:element name=“fromCurrency” nillable=“true” type=“xsd:string” minOccurs=“0” />
<xsd:element name=“toCurrency” nillable=“true” type=“xsd:string” minOccurs=“0” />
<xsd:element name=“exchangeRate” nillable=“true” type=“xsd:string” minOccurs=“0” />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name=“ArrayOfIT_RATES”>
xsd:sequence
<xsd:element name=“ArrayOfIT_RATESItem” type=“tns:IT_RATES” maxOccurs=“unbounded” />
</xsd:sequence>
</xsd:complexType>
Since the name ArrayOfIT_RATESItem(which is automatically generated) this is reflected when connector as well…
My input is to the webservice is 3 input(String type) and 1 documentList which contain 3 fields as output.(DocumentList name IT_RATES).
But the connector which have been created doesnot match the output…
output shows …
as
tns: exchangeRateResponse
- IT_RATES(single element)
- ArrayOfIT_RATESItem(documentList) - This is according to WSDL not actual output of webservice
- element1
- element2
- element3
I tried to rename in wsdl but its throwing me exception
"Could not run ‘ProviderWS_PortType_getDailyLexmarkExchangeRate’.
com.wm.app.b2b.server.ServiceException: [ISS.0088.9139] Output parameters do not conform to targetOutputSignature:
errorCode=VV-005
pathName=/tns:exchangeRateResponse/IT_RATES/IT_RATE_TAB
errorMessage=[ISC.0082.9034] Field is absent, field must exist
errorCode=VV-002
pathName=/tns:exchangeRateResponse/IT_RATES/ArrayOfIT_RATESItem
errorMessage=[ISC.0082.9026] Undefined Object found
errorCode=VV-002
pathName=/tns:exchangeRateResponse/IT_RATES/ArrayOfIT_RATESItem
errorMessage=[ISC.0082.9026] Undefined Object found
"
I am using webMethods 7.1
Could anyone help me in figuring out this cause.
Thanks in advance.
Hiubert
#soa#API-Management#webMethods