#113 wsdl2perl built interface sends wrong XML to server

2.0x
open
nobody
5
2010-11-15
2010-11-15
aledesma
No

Hi,

I'm using wsdl2perl.pl (2.00.99_3) to create a perl inteface to a webservice running on Webshere App Server 6.1, and i'm getting this error back from the server

$VAR1 = {
'xmlns' => 'http://schemas.xmlsoap.org/soap/envelope/',
'faultcode' => 'soapenv:Server.generalException',
'faultstring' => 'org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element transactionInfo of bean com.leapstone.cce.sm.provwsintf.TransactionInfoType.
Child element transactionInfo does not belong in namespace .
Most likely, a third party web services platform has sent an incorrect SOAP message. Message being parsed: '
};

When i inspected what was sent using wireshark, i saw that the XML sent does not conform to what the WS is expecting.

I'm attaching the wireshark capture and the WSDL

Discussion

  • aledesma
    aledesma
    2010-11-15

    OSS WSDL

     
    Attachments
  • aledesma
    aledesma
    2010-11-15

     
    Attachments
  • aledesma
    aledesma
    2010-11-15

    Working example XML from the server's log

     
    Attachments
  • aledesma
    aledesma
    2010-11-15

    • labels: --> Code generator
    • milestone: --> 2.0x