You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/07 12:05:46 UTC
[jira] Created: (AXISCPP-192) checkMessage picking up wrong node
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-192
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-192
Summary: checkMessage picking up wrong node
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis-C++
Components:
WSDL processing
Versions:
1.3 Final
Assignee:
Reporter: John Hawkins
Created: Thu, 7 Oct 2004 3:01 AM
Updated: Thu, 7 Oct 2004 3:01 AM
Description:
Samisa ->
> > I could generate the code and compile as well (on Linux).
> >
> > However in the generated code I get the following line in
> > CH020XSoapPort.cpp file:
> > if(AXIS_SUCCESS ==
> > m_pCall->checkMessage("getCustomerProfileSoapOutput",
> > "http://www.bt.com/css/mmbi/CH020X/"))
> >
> > The response message has:
> > <ns1:getCustomerProfileResponse
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> >
> > Hence I guess the generated code should be:
> > if(AXIS_SUCCESS ==
> > m_pCall->checkMessage("getCustomerProfileResponse",
> > "http://www.bt.com/css/mmbi/CH020X/"))
> >
> > Possible bug in WSDL2WS tool?
> >
> > Further it would be helpful for the exception to say which element it could
> > not deserialize,
> > rather than just saying deserialization failure. (thus we could verify
> > situations like these)
This was confirmed by the user as the cause of the error
> > --- adrian.p.smith@bt.com wrote:
> >
> > > The reply returned from the service was:
> > >
> > > HTTP/1.1 200 OK
> > > Date: Mon, 04 Oct 2004 17:38:50 GMT
> > > Server: WebLogic WebLogic Server 6.1 SP5 04/21/2003 22:50:41 #253745
> > > Content-Length: 5000
> > > Content-Type: text/xml; charset=UTF-8
> > >
> > > <?xml version="1.0" standalone="no"?><SOAP-ENV:Envelope
> > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types"
> > > xmlns:ns1="http://www.bt.com/css/mmbi/CH020X/" xmlns:xsd="
> > http://www.w3.org/2001/XMLSchema"
> > >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > "><SOAP-ENV:Body><ns1:getCustomerProfileResponse
> > >
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> > "><CH020XResponse><E2E><pck>PCK<01069bt.com
> > > SS01 ND1234567890200107190000223344dyemw01
> > >
> >
>
im011111</pck></E2E><mmbi><object>CH020X</object><method>getCustomerProfile</method><objectVer>90</objectVer><compileDate>16/04/03</compileDate><compilerVer>V4.00</compilerVer><mmbiVer>6</mmbiVer><sysText>CSS
> >
> > >
> >
>
R82</sysText><location>LW</location><correlId>adrian</correlId><status>OK</status></mmbi><instId>112301270001</instId><telNr>01208561489</telNr><custAcctNr>11230127</custAcctNr><verNr>051</verNr><exchNm>BODMIN</exchNm><exchType>TXDY57</exchType><currFault>NO</currFault><rcntOrder>N</rcntOrder><follwUpRtng>3</follwUpRtng><custCnsntA>C</custCnsntA><custCnsntB>C</custCnsntB><outstCplntInd>NO</outstCplntInd><callItmsnInd>Y</callItmsnInd><notes>N</notes><names
> >
> > > xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[]"><name>MISS C
> > > ACACIA</name></names><addrs xsi:type="SOAP-ENC:Array"
> > SOAP-ENC:arrayType="xsd:string[]"><addr>59
> > > ST ANDREWS
> > >
> > ROAD</addr><addr>FINNIEGLEN</addr><addr>BODMINTON</addr><addr>RINGSHIRE</addr><addr>BD1
> >
> > >
> >
>
1CC</addr></addrs><noOfBillRecords>01</noOfBillRecords><noOfProductRecords>07</noOfProductRecords><custBillNms
> >
> > > xsi:type="SOAP-ENC:Array"
> > SOAP-ENC:arrayType="xsd:string[]"><custBillNm>MISS C
>
=== message truncated ===
Original WSDL ->
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated using the Web Services Interoperability TestBench @ Mon May 17 15:22:19 2004 (GMT) -->
<definitions name="CH020X" targetNamespace="http://www.bt.com/css/mmbi/CH020X/" xmlns:wsdlns="http://www.bt.com/css/mmbi/CH020X/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types">
<types>
<xsd:schema targetNamespace="http://www.bt.com/css/mmbi/2002/06/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
<xsd:complexType name="ArrayOfString">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOfbill">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:bill[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOfproduct">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:product[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="E2E">
<xsd:all>
<xsd:element name="pck" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="callerId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="appnCompletion">
<xsd:all>
<xsd:element name="APPNCOMPCODE" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="APPNCOMPTEXT" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="bill">
<xsd:all>
<xsd:element name="billTyp" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billSerNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billAmt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="itmsdUnits" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mtrdUnits" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="getCustomerProfileResponse">
<xsd:all>
<xsd:element name="E2E" type="tns:E2E" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mmbi" type="tns:mmbiOutput" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="telNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custAcctNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="verNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="exchNm" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="exchType" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currFault" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="rcntOrder" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="follwUpRtng" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custCnsntA" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custCnsntB" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="outstCplntInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="callItmsnInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="notes" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="names" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="addrs" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="xdirInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="noOfBillRecords" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="noOfProductRecords" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custBillNms" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custBillAddrs" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="acctEntrys" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="bdgtAcctPymts" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tar" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="notesInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billMthd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="csdpInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lowUserInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="follwUpId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="dtyRef" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custType" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="inv" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instClass" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="existGrpCde" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="acctPayMthd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currInvcDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="nextInvDue" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trnSvce" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currInvcId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="charRaisd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="debtMgtCase" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="totOfInvc" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instStrt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lnSts" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="rprPrty" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="maintSvceCde" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="outstBill" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="vrufTtl" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="vrufOpt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lns" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prodLns" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="unbilledUsage" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trafficBillingInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="appnCompletion" type="tns:appnCompletion" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="bills" type="tns:ArrayOfbill" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="products" type="tns:ArrayOfproduct" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="mmbiInput">
<xsd:all>
<xsd:element name="correlId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trace" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="location" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="mmbiOutput">
<xsd:all>
<xsd:element name="object" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="method" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="objectVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="compileDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="compilerVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mmbiVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="sysText" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="location" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="correlId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="status" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="product">
<xsd:all>
<xsd:element name="qnty" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prod" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prodSts" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="shortProdDescr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tarRate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tarTot" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<message name="getCustomerProfileSoapInput">
<part name="E2E" type="tns:E2E" />
<part name="mmbi" type="tns:mmbiInput" />
<part name="telNr" type="xsd:string" />
</message>
<message name="getCustomerProfileSoapOutput">
<part name="CH020XResponse" type="tns:getCustomerProfileResponse" />
</message>
<portType name="CH020XSoapPort">
<operation name="getCustomerProfile">
<documentation>MMBI service CH020X operation getCustomerProfile.</documentation>
<input message="wsdlns:getCustomerProfileSoapInput"></input>
<output message="wsdlns:getCustomerProfileSoapOutput"></output>
</operation>
</portType>
<binding name="CH020XSoapBinding" type="wsdlns:CH020XSoapPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getCustomerProfile">
<soap:operation soapAction="http://www.bt.com/css/mmbi/CH020X/" />
<input>
<soap:body namespace="http://www.bt.com/css/mmbi/CH020X/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body namespace="http://www.bt.com/css/mmbi/CH020X/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
<service name="CH020X">
<documentation>getCustomerProfile. Returns Customer details by telephone number. An example CHIS service script.</documentation>
<port name="CH020XSoapPort" binding="wsdlns:CH020XSoapBinding">
<soap:address location="http://cpwsdd.devenv1.bt.co.uk:63026/gmiProxy/CSSCorsica" />
</port>
</service>
</definitions>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXISCPP-192) checkMessage picking up wrong node
Posted by ax...@ws.apache.org.
Message:
The following issue has been closed.
Resolver: Mark Whitlock
Date: Tue, 12 Oct 2004 8:34 AM
I think WSDL2WS is generating the correct code. From the WSDL, the
output message name is getCustomerProfileSoapOutput and that contains
the type getCustomerProfileResponse. m_pCall->checkMessage expects to
be passed the message name and it checks to see if that message is in
the soap message. WSDL2WS is correctly passing in the message name to
checkMessage. Unfortunately the soap message that is returned does not
seem to match the WSDL.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-192
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-192
Summary: checkMessage picking up wrong node
Type: Bug
Status: Closed
Priority: Major
Resolution: INVALID
Project: Axis-C++
Components:
WSDL processing
Versions:
1.3 Final
Assignee: Mark Whitlock
Reporter: John Hawkins
Created: Thu, 7 Oct 2004 3:01 AM
Updated: Tue, 12 Oct 2004 8:34 AM
Description:
Samisa ->
> > I could generate the code and compile as well (on Linux).
> >
> > However in the generated code I get the following line in
> > CH020XSoapPort.cpp file:
> > if(AXIS_SUCCESS ==
> > m_pCall->checkMessage("getCustomerProfileSoapOutput",
> > "http://www.bt.com/css/mmbi/CH020X/"))
> >
> > The response message has:
> > <ns1:getCustomerProfileResponse
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> >
> > Hence I guess the generated code should be:
> > if(AXIS_SUCCESS ==
> > m_pCall->checkMessage("getCustomerProfileResponse",
> > "http://www.bt.com/css/mmbi/CH020X/"))
> >
> > Possible bug in WSDL2WS tool?
> >
> > Further it would be helpful for the exception to say which element it could
> > not deserialize,
> > rather than just saying deserialization failure. (thus we could verify
> > situations like these)
This was confirmed by the user as the cause of the error
> > --- adrian.p.smith@bt.com wrote:
> >
> > > The reply returned from the service was:
> > >
> > > HTTP/1.1 200 OK
> > > Date: Mon, 04 Oct 2004 17:38:50 GMT
> > > Server: WebLogic WebLogic Server 6.1 SP5 04/21/2003 22:50:41 #253745
> > > Content-Length: 5000
> > > Content-Type: text/xml; charset=UTF-8
> > >
> > > <?xml version="1.0" standalone="no"?><SOAP-ENV:Envelope
> > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types"
> > > xmlns:ns1="http://www.bt.com/css/mmbi/CH020X/" xmlns:xsd="
> > http://www.w3.org/2001/XMLSchema"
> > >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > "><SOAP-ENV:Body><ns1:getCustomerProfileResponse
> > >
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> > "><CH020XResponse><E2E><pck>PCK<01069bt.com
> > > SS01 ND1234567890200107190000223344dyemw01
> > >
> >
>
im011111</pck></E2E><mmbi><object>CH020X</object><method>getCustomerProfile</method><objectVer>90</objectVer><compileDate>16/04/03</compileDate><compilerVer>V4.00</compilerVer><mmbiVer>6</mmbiVer><sysText>CSS
> >
> > >
> >
>
R82</sysText><location>LW</location><correlId>adrian</correlId><status>OK</status></mmbi><instId>112301270001</instId><telNr>01208561489</telNr><custAcctNr>11230127</custAcctNr><verNr>051</verNr><exchNm>BODMIN</exchNm><exchType>TXDY57</exchType><currFault>NO</currFault><rcntOrder>N</rcntOrder><follwUpRtng>3</follwUpRtng><custCnsntA>C</custCnsntA><custCnsntB>C</custCnsntB><outstCplntInd>NO</outstCplntInd><callItmsnInd>Y</callItmsnInd><notes>N</notes><names
> >
> > > xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[]"><name>MISS C
> > > ACACIA</name></names><addrs xsi:type="SOAP-ENC:Array"
> > SOAP-ENC:arrayType="xsd:string[]"><addr>59
> > > ST ANDREWS
> > >
> > ROAD</addr><addr>FINNIEGLEN</addr><addr>BODMINTON</addr><addr>RINGSHIRE</addr><addr>BD1
> >
> > >
> >
>
1CC</addr></addrs><noOfBillRecords>01</noOfBillRecords><noOfProductRecords>07</noOfProductRecords><custBillNms
> >
> > > xsi:type="SOAP-ENC:Array"
> > SOAP-ENC:arrayType="xsd:string[]"><custBillNm>MISS C
>
=== message truncated ===
Original WSDL ->
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated using the Web Services Interoperability TestBench @ Mon May 17 15:22:19 2004 (GMT) -->
<definitions name="CH020X" targetNamespace="http://www.bt.com/css/mmbi/CH020X/" xmlns:wsdlns="http://www.bt.com/css/mmbi/CH020X/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types">
<types>
<xsd:schema targetNamespace="http://www.bt.com/css/mmbi/2002/06/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
<xsd:complexType name="ArrayOfString">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOfbill">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:bill[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOfproduct">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:product[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="E2E">
<xsd:all>
<xsd:element name="pck" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="callerId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="appnCompletion">
<xsd:all>
<xsd:element name="APPNCOMPCODE" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="APPNCOMPTEXT" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="bill">
<xsd:all>
<xsd:element name="billTyp" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billSerNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billAmt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="itmsdUnits" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mtrdUnits" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="getCustomerProfileResponse">
<xsd:all>
<xsd:element name="E2E" type="tns:E2E" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mmbi" type="tns:mmbiOutput" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="telNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custAcctNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="verNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="exchNm" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="exchType" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currFault" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="rcntOrder" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="follwUpRtng" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custCnsntA" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custCnsntB" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="outstCplntInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="callItmsnInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="notes" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="names" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="addrs" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="xdirInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="noOfBillRecords" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="noOfProductRecords" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custBillNms" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custBillAddrs" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="acctEntrys" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="bdgtAcctPymts" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tar" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="notesInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billMthd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="csdpInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lowUserInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="follwUpId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="dtyRef" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custType" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="inv" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instClass" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="existGrpCde" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="acctPayMthd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currInvcDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="nextInvDue" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trnSvce" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currInvcId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="charRaisd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="debtMgtCase" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="totOfInvc" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instStrt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lnSts" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="rprPrty" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="maintSvceCde" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="outstBill" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="vrufTtl" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="vrufOpt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lns" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prodLns" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="unbilledUsage" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trafficBillingInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="appnCompletion" type="tns:appnCompletion" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="bills" type="tns:ArrayOfbill" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="products" type="tns:ArrayOfproduct" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="mmbiInput">
<xsd:all>
<xsd:element name="correlId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trace" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="location" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="mmbiOutput">
<xsd:all>
<xsd:element name="object" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="method" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="objectVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="compileDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="compilerVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mmbiVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="sysText" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="location" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="correlId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="status" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="product">
<xsd:all>
<xsd:element name="qnty" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prod" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prodSts" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="shortProdDescr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tarRate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tarTot" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<message name="getCustomerProfileSoapInput">
<part name="E2E" type="tns:E2E" />
<part name="mmbi" type="tns:mmbiInput" />
<part name="telNr" type="xsd:string" />
</message>
<message name="getCustomerProfileSoapOutput">
<part name="CH020XResponse" type="tns:getCustomerProfileResponse" />
</message>
<portType name="CH020XSoapPort">
<operation name="getCustomerProfile">
<documentation>MMBI service CH020X operation getCustomerProfile.</documentation>
<input message="wsdlns:getCustomerProfileSoapInput"></input>
<output message="wsdlns:getCustomerProfileSoapOutput"></output>
</operation>
</portType>
<binding name="CH020XSoapBinding" type="wsdlns:CH020XSoapPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getCustomerProfile">
<soap:operation soapAction="http://www.bt.com/css/mmbi/CH020X/" />
<input>
<soap:body namespace="http://www.bt.com/css/mmbi/CH020X/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body namespace="http://www.bt.com/css/mmbi/CH020X/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
<service name="CH020X">
<documentation>getCustomerProfile. Returns Customer details by telephone number. An example CHIS service script.</documentation>
<port name="CH020XSoapPort" binding="wsdlns:CH020XSoapBinding">
<soap:address location="http://cpwsdd.devenv1.bt.co.uk:63026/gmiProxy/CSSCorsica" />
</port>
</service>
</definitions>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-192) checkMessage picking up wrong node
Posted by ax...@ws.apache.org.
The following comment has been added to this issue:
Author: Samisa Abeysinghe
Created: Thu, 7 Oct 2004 3:50 AM
Body:
adrian.p.smith@bt.com ->
The reply returned from the service was:
HTTP/1.1 200 OK
Date: Mon, 04 Oct 2004 17:38:50 GMT
Server: WebLogic WebLogic Server 6.1 SP5 04/21/2003 22:50:41 #253745
Content-Length: 5000
Content-Type: text/xml; charset=UTF-8
<?xml version="1.0" standalone="no"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types"
xmlns:ns1="http://www.bt.com/css/mmbi/CH020X/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns1:getCustomerProfileResponse
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><CH020XResponse><E2E><pck>PCK<01069bt.com
SS01 ND1234567890200107190000223344dyemw01
im011111</pck></E2E><mmbi><object>CH020X</object><method>getCustomerProfile</method><objectVer>90</objectVer><compileDate>16/04/03</compileDate><compilerVer>V4.00</compilerVer><mmbiVer>6</mmbiVer><sysText>CSS
R82</sysText><location>LW</location><correlId>adrian</correlId><status>OK</status></mmbi><instId>112301270001</instId><telNr>01208561489</telNr><custAcctNr>11230127</custAcctNr><verNr>051</verNr><exchNm>BODMIN</exchNm><exchType>TXDY57</exchType><currFault>NO</currFault><rcntOrder>N</rcntOrder><follwUpRtng>3</follwUpRtng><custCnsntA>C</custCnsntA><custCnsntB>C</custCnsntB><outstCplntInd>NO</outstCplntInd><callItmsnInd>Y</callItmsnInd><notes>N</notes><names
xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[]"><name>MISS
C ACACIA</name></names><addrs xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[]"><addr>59 ST ANDREWS
ROAD</addr><addr>FINNIEGLEN</addr><addr>BODMINTON</addr><addr>RINGSHIRE</addr><addr>BD1
1CC</addr></addrs><noOfBillRecords>01</noOfBillRecords><noOfProductRecords>07</noOfProductRecords><custBillNms
xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[]"><custBillNm>MISS C ACACIA</custBillNm></custBillNms><custBillAddrs
xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[]"><custBillAddr>59 ST
ANDREWS
ROAD</custBillAddr><custBillAddr>FINNIEGLEN</custBillAddr><custBillAddr>BODMINTON</custBillAddr><custBillAddr>RINGSHIRE</custBillAddr></custBillAddrs><acctEntrys
xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[]"><acctEntry>143.38</acctEntry><acctEntry>00.00</acctEntry><acctEntry>00.00</acctEntry><acctEntry>143.38</acctEntry></acctEntrys><bdgtAcctPymts
xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[]"><bdgtAcctPymt> </bdgtAcctPymt><bdgtAcctPymt>
</bdgtAcctPymt></bdgtAcctPymts><tar>A</tar><notesInd>Y</notesInd><billMthd>L</billMthd><csdpInd>Y</csdpInd><follwUpId>I001</follwUpId><dtyRef>PMILO</dtyRef><custType>PERSONAL
COMMS</custType><inv>Y</inv><instClass>RES SINGLE
EXCL</instClass><existGrpCde>BOD</existGrpCde><acctPayMthd>ORDINARY
ACCOUNT</acctPayMthd><nextInvDue>28/09/04</nextInvDue><currInvcDate>07/11/00</currInvcDate><trnSvce>N</trnSvce><currInvcId>I001</currInvcId><charRaisd>143.38</charRaisd><debtMgtCase>NO</debtMgtCase><totOfInvc>143.38</totOfInvc><instStrt>01/11/00</instStrt><lnSts>B/W</lnSts><rprPrty>***</rprPrty><maintSvceCde>NO</maintSvceCde><outstBill>NO</outstBill><vrufTtl>Cust
Options :</vrufTtl><vrufOpt>CE1</vrufOpt><prodLns
xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[]"><prodLn>01
Option 90100 - Tariff for Customer Account
only</prodLn></prodLns><unbilledUsage>00.00</unbilledUsage><trafficBillingInd>C</trafficBillingInd><appnCompletion><APPNCOMPCODE>0</APPNCOMPCODE><APPNCOMPTEXT>No
dialled call usage found for this
account</APPNCOMPTEXT></appnCompletion><bills xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="tns:bill[]"><bill><billTyp>I</billTyp><billSerNr>001</billSerNr><billDate>07/11/00</billDate><billAmt>£143.38</billAmt><itmsdUnits>0000000</itmsdUnits><mtrdUnits>00000000</mtrdUnits></bill></bills><products
xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="tns:product[]"><product><qnty>1</qnty><prod>A90100</prod><prodSts>C</prodSts><shortProdDescr>FRIENDS
&
FAMILY</shortProdDescr><tarRate>0.00</tarRate><tarTot>0.00</tarTot></product><product><qnty>1</qnty><prod>A14499</prod><prodSts>C</prodSts><shortProdDescr>EXCH
LINE +
LINEBOX</shortProdDescr><tarRate>29.36</tarRate><tarTot>29.36</tarTot></product><product><qnty>1</qnty><prod>A14493</prod><prodSts>C</prodSts><shortProdDescr>PRIORITY
FAULT
REPAIR</shortProdDescr><tarRate>0.00</tarRate><tarTot>0.00</tarTot></product><product><qnty>1</qnty><prod>A52053</prod><prodSts>O</prodSts><shortProdDescr>RESPONSE
123</shortProdDescr><tarRate>ORS</tarRate><tarTot>0.00</tarTot></product><product><qnty>1</qnty><prod>A45743</prod><prodSts>C</prodSts><shortProdDescr>CALL
SIGN</shortProdDescr><tarRate>0.00</tarRate><tarTot>0.00</tarTot></product><product><qnty>1</qnty><prod>A51875</prod><prodSts>C</prodSts><shortProdDescr>BT
Calling Features Pack
1</shortProdDescr><tarRate>4.46</tarRate><tarTot>4.46</tarTot></product><product><qnty>2</qnty><prod>A42349</prod><prodSts>C</prodSts><shortProdDescr>HOME
NUMBER 99 MCC
(13)</shortProdDescr><tarRate>0.00</tarRate><tarTot>0.00</tarTot></product></products></CH020XResponse></ns1:getCustomerProfileResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
But I get an Exception:
Exception : Cannot deserialize the requested element
Exception : 55
My client code looks like this:
#include "CH020XSoapPort.h"
int main()
{
try
{
CH020XSoapPort * port = new CH020XSoapPort();
mmbiInput *mmbiIn = new mmbiInput();
mmbiIn->correlId = "adrian";
E2E *e2e = new E2E();
e2e->pck = "PCK<01069bt.com SS01
ND1234567890200107190000223344dyemw01 im011111";
getCustomerProfileResponse *result =
port->getCustomerProfile(mmbiIn, e2e, "01208561489");
E2E *e2eOut = result->E2E_Ref;
printf("output pck: %s\n", e2eOut->pck);
printf("result = %s\n", result->telNr);
return 0;
}
catch(AxisException &e)
{
printf("Exception : %s\n", e.what());
printf("Exception : %d\n", e.getExceptionCode());
return 1;
}
catch(exception& e)
{
printf("Unknown exception 1 has occured\n" );
return 1;
}
catch(...)
{
printf("Unknown exception has occured\n" );
return 1;
}
}
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXISCPP-192?page=comments#action_53802
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-192
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-192
Summary: checkMessage picking up wrong node
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis-C++
Components:
WSDL processing
Versions:
1.3 Final
Assignee:
Reporter: John Hawkins
Created: Thu, 7 Oct 2004 3:01 AM
Updated: Thu, 7 Oct 2004 3:50 AM
Description:
Samisa ->
> > I could generate the code and compile as well (on Linux).
> >
> > However in the generated code I get the following line in
> > CH020XSoapPort.cpp file:
> > if(AXIS_SUCCESS ==
> > m_pCall->checkMessage("getCustomerProfileSoapOutput",
> > "http://www.bt.com/css/mmbi/CH020X/"))
> >
> > The response message has:
> > <ns1:getCustomerProfileResponse
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> >
> > Hence I guess the generated code should be:
> > if(AXIS_SUCCESS ==
> > m_pCall->checkMessage("getCustomerProfileResponse",
> > "http://www.bt.com/css/mmbi/CH020X/"))
> >
> > Possible bug in WSDL2WS tool?
> >
> > Further it would be helpful for the exception to say which element it could
> > not deserialize,
> > rather than just saying deserialization failure. (thus we could verify
> > situations like these)
This was confirmed by the user as the cause of the error
> > --- adrian.p.smith@bt.com wrote:
> >
> > > The reply returned from the service was:
> > >
> > > HTTP/1.1 200 OK
> > > Date: Mon, 04 Oct 2004 17:38:50 GMT
> > > Server: WebLogic WebLogic Server 6.1 SP5 04/21/2003 22:50:41 #253745
> > > Content-Length: 5000
> > > Content-Type: text/xml; charset=UTF-8
> > >
> > > <?xml version="1.0" standalone="no"?><SOAP-ENV:Envelope
> > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types"
> > > xmlns:ns1="http://www.bt.com/css/mmbi/CH020X/" xmlns:xsd="
> > http://www.w3.org/2001/XMLSchema"
> > >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > "><SOAP-ENV:Body><ns1:getCustomerProfileResponse
> > >
> > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
> > "><CH020XResponse><E2E><pck>PCK<01069bt.com
> > > SS01 ND1234567890200107190000223344dyemw01
> > >
> >
>
im011111</pck></E2E><mmbi><object>CH020X</object><method>getCustomerProfile</method><objectVer>90</objectVer><compileDate>16/04/03</compileDate><compilerVer>V4.00</compilerVer><mmbiVer>6</mmbiVer><sysText>CSS
> >
> > >
> >
>
R82</sysText><location>LW</location><correlId>adrian</correlId><status>OK</status></mmbi><instId>112301270001</instId><telNr>01208561489</telNr><custAcctNr>11230127</custAcctNr><verNr>051</verNr><exchNm>BODMIN</exchNm><exchType>TXDY57</exchType><currFault>NO</currFault><rcntOrder>N</rcntOrder><follwUpRtng>3</follwUpRtng><custCnsntA>C</custCnsntA><custCnsntB>C</custCnsntB><outstCplntInd>NO</outstCplntInd><callItmsnInd>Y</callItmsnInd><notes>N</notes><names
> >
> > > xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[]"><name>MISS C
> > > ACACIA</name></names><addrs xsi:type="SOAP-ENC:Array"
> > SOAP-ENC:arrayType="xsd:string[]"><addr>59
> > > ST ANDREWS
> > >
> > ROAD</addr><addr>FINNIEGLEN</addr><addr>BODMINTON</addr><addr>RINGSHIRE</addr><addr>BD1
> >
> > >
> >
>
1CC</addr></addrs><noOfBillRecords>01</noOfBillRecords><noOfProductRecords>07</noOfProductRecords><custBillNms
> >
> > > xsi:type="SOAP-ENC:Array"
> > SOAP-ENC:arrayType="xsd:string[]"><custBillNm>MISS C
>
=== message truncated ===
Original WSDL ->
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated using the Web Services Interoperability TestBench @ Mon May 17 15:22:19 2004 (GMT) -->
<definitions name="CH020X" targetNamespace="http://www.bt.com/css/mmbi/CH020X/" xmlns:wsdlns="http://www.bt.com/css/mmbi/CH020X/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types">
<types>
<xsd:schema targetNamespace="http://www.bt.com/css/mmbi/2002/06/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
<xsd:complexType name="ArrayOfString">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOfbill">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:bill[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOfproduct">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:product[]" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="E2E">
<xsd:all>
<xsd:element name="pck" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="callerId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="appnCompletion">
<xsd:all>
<xsd:element name="APPNCOMPCODE" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="APPNCOMPTEXT" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="bill">
<xsd:all>
<xsd:element name="billTyp" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billSerNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billAmt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="itmsdUnits" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mtrdUnits" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="getCustomerProfileResponse">
<xsd:all>
<xsd:element name="E2E" type="tns:E2E" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mmbi" type="tns:mmbiOutput" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="telNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custAcctNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="verNr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="exchNm" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="exchType" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currFault" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="rcntOrder" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="follwUpRtng" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custCnsntA" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custCnsntB" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="outstCplntInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="callItmsnInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="notes" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="names" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="addrs" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="xdirInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="noOfBillRecords" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="noOfProductRecords" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custBillNms" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custBillAddrs" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="acctEntrys" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="bdgtAcctPymts" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tar" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="notesInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="billMthd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="csdpInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lowUserInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="follwUpId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="dtyRef" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="custType" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="inv" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instClass" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="existGrpCde" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="acctPayMthd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currInvcDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="nextInvDue" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trnSvce" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="currInvcId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="charRaisd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="debtMgtCase" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="totOfInvc" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="instStrt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lnSts" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="rprPrty" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="maintSvceCde" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="outstBill" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="vrufTtl" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="vrufOpt" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="lns" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prodLns" type="tns:ArrayOfString" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="unbilledUsage" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trafficBillingInd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="appnCompletion" type="tns:appnCompletion" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="bills" type="tns:ArrayOfbill" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="products" type="tns:ArrayOfproduct" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="mmbiInput">
<xsd:all>
<xsd:element name="correlId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="trace" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="location" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="mmbiOutput">
<xsd:all>
<xsd:element name="object" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="method" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="objectVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="compileDate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="compilerVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="mmbiVer" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="sysText" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="location" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="correlId" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="status" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
<xsd:complexType name="product">
<xsd:all>
<xsd:element name="qnty" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prod" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="prodSts" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="shortProdDescr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tarRate" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
<xsd:element name="tarTot" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="false" />
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<message name="getCustomerProfileSoapInput">
<part name="E2E" type="tns:E2E" />
<part name="mmbi" type="tns:mmbiInput" />
<part name="telNr" type="xsd:string" />
</message>
<message name="getCustomerProfileSoapOutput">
<part name="CH020XResponse" type="tns:getCustomerProfileResponse" />
</message>
<portType name="CH020XSoapPort">
<operation name="getCustomerProfile">
<documentation>MMBI service CH020X operation getCustomerProfile.</documentation>
<input message="wsdlns:getCustomerProfileSoapInput"></input>
<output message="wsdlns:getCustomerProfileSoapOutput"></output>
</operation>
</portType>
<binding name="CH020XSoapBinding" type="wsdlns:CH020XSoapPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getCustomerProfile">
<soap:operation soapAction="http://www.bt.com/css/mmbi/CH020X/" />
<input>
<soap:body namespace="http://www.bt.com/css/mmbi/CH020X/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body namespace="http://www.bt.com/css/mmbi/CH020X/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
<service name="CH020X">
<documentation>getCustomerProfile. Returns Customer details by telephone number. An example CHIS service script.</documentation>
<port name="CH020XSoapPort" binding="wsdlns:CH020XSoapBinding">
<soap:address location="http://cpwsdd.devenv1.bt.co.uk:63026/gmiProxy/CSSCorsica" />
</port>
</service>
</definitions>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira