1 Reply Latest reply: Jul 26, 2013 11:06 AM by Maurice G RSS

    GWWS_CAT:1022: SOAP Error: Invalid SOAP Body While processing Valid Soap Request

    AjeetTewari

      Hi,

       

      I Following tuxedo version on AIX 6.1 Power 7 64 bit.

      INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 095

       

      Service Meta Information is :

      service=StockQuote

      export=y

      servicetype=service

      tuxservice=STOCKQUOTE

      svcdescription=This service is used to demo security and xml buffer interop.

      inbuf=XML

      outbuf=XML

      param=XMLBuffer

      type=xml

      access=inout

      size=1000

       

      this is actually picked from salt sample packaged with version 10.3.

       

      Request Message:

      <?xml version="1.0" encoding="UTF-8"?>

      <SOAP-ENV:Envelope

      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xmlns:xsd="http://www.w3.org/2001/XMLSchema"

      xmlns:ns1="urn:salt.samples.wsdl"

      xmlns:ns2="urn:pack.samples_typedef.salt11">

      <SOAP-ENV:Body>

      <ns2:StockQuote>

      <ns2:inbuf>

      </ns2:inbuf>

      </ns2:StockQuote>

      </SOAP-ENV:Body>

      </SOAP-ENV:Envelope>

       

      I put GWWS under tracing and found following.

       

      Response Messag:

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --WAKEUP-->Created

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Inbound-->Receive

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Found-->ParseHTTP

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:HTTP Parsing: Buffer length 1140 -- POST /secsapp HTTP/1.1^M

      Host: uaix4070.unix.rabobank.nl:8070^M

      User-Agent: gSOAP/2.7^M

      Content-Type: text/xml; charset=utf-8^M

      Content-Length: 437^M

      Connection: close^M

      SOAPAction: "StockQuote"^M

      ^M

      <?xml version="1.0" encoding="UTF-8"?>

      <SOAP-ENV:Envelope

      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

      xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xmlns:xsd="http://www.w3.org/2001/XMLS

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:chema"

      xmlns:ns1="urn:salt.samples.wsdl"

      xmlns:ns2="urn:pack.samples_typedef.salt11">

      <SOAP-ENV:Body>

      <ns2:StockQuote>

      <ns2:inbuf>

      </ns2:inbuf>

      </ns2:StockQuote>

      </SOAP-ENV:Body>

      </SOAP-ENV:Envelope>

       

       

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:parse_header_field() return 6

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->HTTPDispatch

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:A HTTP message is received, SCO index=4095

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Finding endpoint, soap->path is /secsapp, request_uri is /secsapp

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Post-->ParseSOAPHeader

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->ParseHeaderRoot

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:A SOAP message is received, SCO index=4095

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --None-->ParseSOAPBody

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->ParseBodyRoot

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->ParseBodyElement

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Begin data transformation of request message, buffer type = XML, SCO index=4095

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Fail-->SOAPFault

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackSOAPBody

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackSOAPHeader

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->WSRMHandle3

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackHTTP

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->Send

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Sending HTTP Header: HTTP/1.1 500 Internal Server Error^M

      Server: gSOAP/2.7^M

      Content-Type: text/xml; charset=utf-8^M

      Content-Length: 311^M

      Connection: close^M

      ^M

       

       

      150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Sending SOAP Message: <?xml version="1.0" encoding="UTF-8"?>

      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>GWWS_CAT:1022: SOAP Error: Invalid SOAP Body.</faultstring></SOAP-ENV:Fault><

      /SOAP-ENV:Body></SOAP-ENV:Envelope>

       

      Is there something wrong with the request ? Are there known bugs with handling of Soap request in this version ?

       

      Thanks & Regards,

      Ajeet Tewari