cancel
Showing results for 
Search instead for 
Did you mean: 

error CX_ST_GROUP_MISSING_CASE

nicolasszdz
Explorer
0 Kudos

Hello,

I have generated an abap proxy from a wsdl definition of a webservice. It worked fine, but when I call the web service, I get the error CX_ST_GROUP_MISSING_CASE. I cannot figure out why...

Can somebody help me please?

Complementary information :

*The transformation looks like : *

<?sap.transform simple?>

<tt:transform version="1.0" xmlns:tt="http://www.sap.com/transformation-templates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nr1="http://services.webcoriolis">

<tt:root name="NOUVELLE_SESSION_RESPONSE"/>

<tt:template name = "ZCG_NOUVELLE_SESSION_RESPONSE">

<tt:group>

<tt:cond>

<nouvelleSessionReturn><tt:value ref="NOUVELLE_SESSION_RETURN"/></nouvelleSessionReturn>

</tt:cond>

</tt:group>

</tt:template>

<tt:template>

<nr1:nouvelleSessionResponse tt:lax="on" tt:extensible="deep">

<tt:namespace name="nr1"/>

<tt:ref name="NOUVELLE_SESSION_RESPONSE">

<tt:apply name="ZCG_NOUVELLE_SESSION_RESPONSE"/>

</tt:ref>

</nr1:nouvelleSessionResponse>

</tt:template>

</tt:transform>

*The response sent by the distant system looks like : *

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

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

- <nouvelleSessionResponse xmlns="http://services.webcoriolis">

<nouvelleSessionReturn>6941200937022619|ACP|DIEU</nouvelleSessionReturn>

</nouvelleSessionResponse>

</root>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Did you find a solution to your problem? I am facing more or less the same over here - deserialization fails in an SAP CRM ABAP proxy because there are several namespaces in the used XML message which seem not to be the same as the ones used for the generation of the proxy in the first place.

Any hints or comments from you (and others) are warmly welcomed!

Cheers!

Stefan

nicolasszdz
Explorer
0 Kudos

Hi Stefan,

Unfortunately, I have not found any solution yet...

But if I find something, I will let you know.

I read somewhere that it is possible to modify the transformation program, but I do not know what to modify.

Regards.

Julien

nicolasszdz
Explorer
0 Kudos

Hi Stefan,

I don t know if you are still interested, but should it be the case, here is how I solved my problem :

I modified the transformation program via transaction XSLT_TOOL like this :

INITIAL TRANSFORMATION :

<?sap.transform simple?>

<tt:transform version="1.0" xmlns:tt="http://www.sap.com/transformation-templates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nr1="http://services.webcoriolis">

<tt:root name="NOUVELLE_SESSION_RESPONSE"/>

<tt:template name = "ZCG_NOUVELLE_SESSION_RESPONSE">

<tt:group>

<tt:cond>

<nouvelleSessionReturn><tt:value ref="NOUVELLE_SESSION_RETURN"/></nouvelleSessionReturn>

</tt:cond>

</tt:group>

</tt:template>

<tt:template>

<nr1:nouvelleSessionResponse tt:lax="on" tt:extensible="deep">

<tt:namespace name="nr1"/>

<tt:ref name="NOUVELLE_SESSION_RESPONSE">

<tt:apply name="ZCG_NOUVELLE_SESSION_RESPONSE"/>

</tt:ref>

</nr1:nouvelleSessionResponse>

</tt:template>

</tt:transform>

I REMOVED THE BITS REFERING TO THE VARIABLE nr1, Because this nr1 stuff did not appear on the xml file I received from the partner system.

HERE IS WHAT THE TRANSFORMATION NOW LOOKS LIKE :

<?sap.transform simple?>

<tt:transform version="1.0" xmlns:tt="http://www.sap.com/transformation-templates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://services.webcoriolis">

<tt:root name="NOUVELLE_SESSION_RESPONSE"/>

<tt:template name = "ZCG_NOUVELLE_SESSION_RESPONSE">

<tt:group>

<tt:cond>

<nouvelleSessionReturn><tt:value ref="NOUVELLE_SESSION_RETURN"/></nouvelleSessionReturn>

</tt:cond>

</tt:group>

</tt:template>

<tt:template>

<nouvelleSessionResponse tt:lax="on" tt:extensible="deep">

<tt:ref name="NOUVELLE_SESSION_RESPONSE">

<tt:apply name="ZCG_NOUVELLE_SESSION_RESPONSE"/>

</tt:ref>

</nouvelleSessionResponse>

</tt:template>

</tt:transform>

Hope this helps.

Bye.

Julien Boffet

Former Member
0 Kudos

i am facing similar issue. I changed the transformation as recomended. but still getting same error. Please suggest.

<?sap.transform simple?>

<tt:transform version="1.0" xmlns:tt="http://www.sap.com/transformation-templates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.niku.com/xog/Query">

<tt:root name="INPUT"/>

<tt:template name = "ZZQUERY">

<tt:group>

<tt:cond>

<tt:ref name="BODY">

<tt:apply name="ZZCA_GIS_QRY_PROJ_DATA_COSTQU1"/>

</tt:ref>

</tt:cond>

</tt:group>

</tt:template>

<tt:template name = "ZZCA_GIS_QRY_PROJ_DATA_COSTQU1">

<tt:group>

<tt:cond>

<Code><tt:value ref="CODE"/></Code>

</tt:cond>

<tt:cond data="s-check(not(initial('FILTER')))">

<Filter tt:ref="FILTER">

<tt:apply name="ZZCA_GIS_QRY_PROJ_DATA_COSTFIL"/>

</Filter>

</tt:cond>

</tt:group>

</tt:template>

<tt:template name = "ZZCA_GIS_QRY_PROJ_DATA_COSTFIL">

<tt:group>

<tt:cond data="s-check(not(initial('PROJ_ID')))">

<proj_id><tt:value ref="PROJ_ID"/></proj_id>

</tt:cond>

<tt:cond data="s-check(not(initial('PROJ_ID_FROM')))">

<proj_id_from><tt:value ref="PROJ_ID_FROM"/></proj_id_from>

</tt:cond>

.

.

<tt:cond data="s-check(not(initial('BASELINE_FINISH_DATE_WILDCARD')))">

<baseline_finish_date_wildcard><tt:value ref="BASELINE_FINISH_DATE_WILDCARD"/></baseline_finish_date_wildcard>

</tt:cond>

</tt:group>

</tt:template>

<tt:template>

<Query tt:lax="on" tt:extensible="deep">

<tt:ref name="INPUT">

<tt:apply name="ZZQUERY"/>

</tt:ref>

</Query>

</tt:template>

</tt:transform>

Former Member
0 Kudos

Hi Julien,

Check the below link might help you..

http://help.sap.com/saphelp_nw04/helpdata/en/6b/fafd3f0521c842e10000000a1550b0/content.htm

Regards,

Sumit