cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in consuming a webservice.

Former Member
0 Kudos

Hello,

I'm not sure this is the correct forum, please let me know if not.

I'm having an issue invoking a webservice (request/reply) provided by a external application, getting an error as below

" ABAP conversion (Response Message; error ID: CX_ST_GROUP_MISSING_CASE; (/1SAI/TXS00000000000000000001 XML Bytepos.: 353 XML Path: root(1)ns:

getSiebelCustomerResponse(1)ns:getSiebelCustomerResult(1)

Error Text: Element 'customers' missing))"

I created - a proxy object from the wsdl given. I tried both using the URL and http destination to the host server but didnt work.

The environment I'm working on is standalone WAS 6.40 (no J2EE). I'm not sure this env setup is sufficient to invoke a webservice.

Any suggestions/guidance would be of great help to me. Thanks.

Regards,

Jay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Are u consuming web service using java? Developer studio has the facility to create proxy objects automatically from a given web service url. Are you using this functionality?

Former Member
0 Kudos

Hi Sujesh,

No, I'm trying with only ABAP proxy. Currently SAP WAS instance I'm working doesnt have J2EE engine.

Regards,

Jay

athavanraja
Active Contributor
0 Kudos

at what step you are facing this error

while creating the client proxy in ABAP - se80

or while executing the proxy?

(if the webservice is a public one , let me know the WSDL url -i will give it a try)

Regards

Raja

Former Member
0 Kudos

Hi Raja,

It occuring when I try to execute the proxy.

Its an intranet webservice provided by Siebel application. Not sure whether you can access.

Please let me know. Thanks.

Regards,

Jay

athavanraja
Active Contributor
0 Kudos

there is some problem with the XML returned by the webservice and ABAP couldnt transform it and thats the reason you are getting this error

can you get the result of the webservice thru some other mean to check the correctness of the xml returned?

its your intranet one and i cannot access it.

Regards

Raja

Former Member
0 Kudos

Hi Raja,

I got the following response using xmlspy.

************************************************

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body>

<ns:getSiebelCustomerResponse xmlns:ns="http://www.openuri.org/">

<ns:getSiebelCustomerResult>

<customers>

<Customer>

<buildingName></buildingName>

<cidSiteId></cidSiteId>

<cityName>AIX EN PROVENCE</cityName>

<cntry>France</cntry>

<custName>REUSSITE INFORMATIQUE FRANCE</custName> <dunsNr></dunsNr> <isoCntryCd>FR</isoCntryCd> <postBoxNr></postBoxNr> <postalCd>13090</postalCd> <preSalesCustId>EMEA1-1-175B-7758</preSalesCustId>

<preSalesSource>CRM31TST</preSalesSource>

<regionCd></regionCd>

<stProv></stProv>

<streetAddr>20 RTE DE GALICE</streetAddr> <cityArea></cityArea> <amidGlobalCustId>LOBSMBNOTIND</amidGlobalCustId>

<amidGlobalCustName>SMB NO INDUSTRY</amidGlobalCustName> <amidGlobalSubCustId></amidGlobalSubCustId>

<amidCountryCustId>FRDY0002228</amidCountryCustId>

<cidSubSiteId></cidSubSiteId>

<custSegment></custSegment>

<dunsGlobalUltId></dunsGlobalUltId>

<dunsGlobalUltName></dunsGlobalUltName>

<dunsDomesticUltId></dunsDomesticUltId>

<dunsDomesticUltName></dunsDomesticUltName>

<globalCustFlag></globalCustFlag>

<priceProfId>No Match Row Id</priceProfId> <priceProfDesc></priceProfDesc> <custStatus>Active</custStatus> </Customer> </customers>

<message>1 matching record found.</message> <responseStatus>Success</responseStatus>

</ns:getSiebelCustomerResult>

</ns:getSiebelCustomerResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

*******************************************************

Also I noticed there is an SAP OSS note # 950221 for the same issue. Is this something I need to apply for my issue ?. Currently the system I'm working on is in SAP_BASIS patch level 14, this note applicable for systems running on level 17.

Not sure, any help is highly appreciated. Thanks.

Regards,

Jay

athavanraja
Active Contributor
0 Kudos

looked at the note, it looks like you have to apply this note.

Regards

Raja

Former Member
0 Kudos

Hi Raja,

I applied the note, now that exception is gone but no response is null. I'm getting a message " Invalid value for Boolean". Any idea what this could be ?. Thanks.

Regards,

Jay