[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem calling webservice using WSDL2RPG tool



Hello All,

I have installed WSDL2RPG tool and i generated the RPG stub and program out of 
it. Later when i try to invoke the program, it gives me these errors:

1) 13: HTTP/1.1 400 Bad Request.
2)SOAP-ENV:Client: SOAPAction '<?>' is of invalid format: SOAPAction should 
  be either rpc/operationName or document/operationName.                  .

I have attached the following :
1) WSDL file 
2)Corresponding RPG Program and stub generated out of WSDL2RPG tool.
3) HTTP error log after invoking the RPG program.

Can someone please help me resolve this issue. Thanks for your help and let me 
know if you need additional info.

Regards,
Avinash.

Attachment: MapicTEType.WSDL
Description: Binary data

Attachment: RPGsources.zip
Description: application/compressed

HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V5R4M0

New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: AD.AGI
DNS server found: 10.10.1.5
DNS server found: 10.11.16.197
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=S@DM1N HTTP/1.1
Host: sbluatweb01.ad.agi
User-Agent: http-api/1.23
Expect: 100-continue
Content-Length: 1194
Content-Type: text/xml
SOAPAction: rpc/http://siebel.com/asi/:Mapics_spcTE


recvresp(): entered
HTTP/1.1 100 Continue


SetError() #13: HTTP/1.1 100 Continue
sendraw(): entered
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tns="http://siebel.com/asi/"; xmlns:xsdLocal0="http://www.siebel.com/xml/BT%20Agile%20Update%20LOV"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><tns:Mapics_spcTE soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";><_XML_spcString>string</_XML_spcString><Error_spcCode>string</Error_spcCode><Error_spcMessage>string</Error_spcMessage><Object_spcId>string</Object_spcId><Process_spcInstance_spcId>string</Process_spcInstance_spcId><Siebel_spcOperation_spcObject_spcId>string</Siebel_spcOperation_spcObject_spcId><SiebelMessage xsi:type="xsdLocal0:ListOfAgileUpdateLovTopElmt"><xsdLocal0:ListOfAgileUpdateLov xsi:type="xsdLocal0:ListOfAgileUpdateLov"><xsdLocal0:ListOfValues xsi:type="xsdLocal0:ListOfValues"><xsdLocal0:Type>string</xsdLocal0:Type><xsdLocal0:Name>string</xsdLocal0:Name><xsdLocal0:Value>string</xsdLocal0:Value><xsdLocal0:SubType>string</xsdLocal0:SubType><xsdLocal0:Active>string</xsdLocal0:Active></xsdLocal0:ListOfValues></xsdLocal0:ListOfAgileUpdateLov></SiebelMessage><Step_spcName>string</Step_spcName></tns:Mapics_spcTE></soapenv:Body></soapenv:Envelope>
recvresp(): entered
HTTP/1.1 400 Bad Request
Connection: close
Date: Mon, 31 Jan 2011 05:39:32 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
eaihttprespstatus: 400
dispatcherrortext: [0] SOAPAction '<?>' is of invalid format: SOAPAction should be either rpc/operationName or document/operationName.(SBL-EAI-08006) (IDS_EAI_WS_INV_SOAP_ACTION) 
siebel-error-symbol-1: IDS_EAI_WS_INV_SOAP_ACTION
cache-control: no-cache, must-revalidate, max-age=0
pragma: no-cache
siebel-error-message-1: SOAPAction '<?>' is of invalid format: SOAPAction should be either rpc/operationName or document/operationName.(SBL-EAI-08006)
content-type: text/xml;charset=UTF-8
content-length: 958


SetError() #13: HTTP/1.1 400 Bad Request
recvdoc parms: identity 958
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?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>SOAPAction &apos;&lt;?&gt;&apos; is of invalid format: SOAPAction should be either rpc/operationName or document/operationName.(SBL-EAI-08006)</faultstring><detail><siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault";><siebelf:logfilename>EAIObjMgr_enu_0043_45088796.log</siebelf:logfilename><siebelf:errorstack><siebelf:error><siebelf:errorcode>SBL-EAI-08006</siebelf:errorcode><siebelf:errorsymbol>IDS_EAI_WS_INV_SOAP_ACTION</siebelf:errorsymbol><siebelf:errormsg>SOAPAction &apos;&lt;?&gt;&apos; is of invalid format: SOAPAction should be either rpc/operationName or document/operationName.(SBL-EAI-08006)</siebelf:errormsg></siebelf:error></siebelf:errorstack></siebelf:siebdetail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
SetError() #13: HTTP/1.1 400 Bad Request
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------