cancel
Showing results for 
Search instead for 
Did you mean: 

Problems Generating Relations between Network Activities

Former Member
0 Kudos

Hello,

I'm trying to generate a relation (dependency) between two activities within the same network vi the service ProjectERPActivityUpdate (internal name ecc_projactyupdrc).

It seems that there is some internal problem with the parsing of the NetworkRelationship part of the response. Depending on minimal changes, I get different errors. Even irrelevant whitespaces between tags make a different response.

-- Sometimes I get a timeout HTML page from the web server after 30 seconds

-- Sometimes I get:

"CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause.Error while parsing an XML stream: '<EOF> reached'."

(although the XML request was well formed and valid),

-- Sometimes I get

"CX_ST_MATCH_ELEMENT:XSLT exception.System expected the end of the element 'ActionCode'"

with different tags like ActionCode, NetworkPlanElementSuccessionTypeCode or whatever is the last before the closing NetworkRelationship.

-- Sometimes this happens:

"CX_SY_MESSAGE_IN_PLUGIN_MODE:Exception CX_SOAP_ROOT occurred (program: CL_SOAP_RUNTIME_ROOT==========CP, include: CL_SOAP_RUNTIME_ROOT==========CM004, line: 100)..Message E CNAOBAR 803 cannot be processed in plugin mode HTTP".

The SOAMANAGER Log/Trace Viewer does not help a lot, because most of the calls don't appear, and the other logs do not contain anything more than the service response.

Any experience or help available? Thanks!

Regards,

Uwe.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

From where you are testing (consumer application or SOAP testing tools i.e. SOAPUI or WSNavigator)?

How big your request is?

Regards,

Gourav

Former Member
0 Kudos

Hello Gourav,

I experienced this problem a year ago in the ES workplace (see my post ) with my client application and the SAP Web Service Navigator. Now I can reproduce this on our local development system, using several clients (Eclipse Java EE Web Service Explorer, Axis client). The request isn't large (less than 2KB) and looks similar to:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://sap.com/xi/EA-APPL/SE/Global" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
    <q0:ProjectERPActivityUpdateRequest_sync>
      <Project>
        <ID>I/8001</ID>
        <ChangeStateID>59780182045D579C2611592FC9D556C6573FCA52</ChangeStateID>
        <Activity>
          <ID>0020</ID>
          <ProjectNetworkID>903911</ProjectNetworkID>
          <NetworkRelationship>
            <pre><code>903911</code></pre>
            <SuccessorProjectNetworkID>903911</SuccessorProjectNetworkID>
            <pre><code>0010</code></pre>
            <SuccessorProjectActivityID>0020</SuccessorProjectActivityID>
            <NetworkPlanElementSuccessionTypeCode>2</NetworkPlanElementSuccessionTypeCode>
            <ActionCode>01</ActionCode>
          </NetworkRelationship>
        </Activity>
      </Project>
    </q0:ProjectERPActivityUpdateRequest_sync>
  </soapenv:Body>
</soapenv:Envelope>

(This sample from the eclipse gives: CX_SY_MESSAGE_IN_PLUGIN_MODE:Exception CX_SOAP_ROOT occurred (program: CL_SOAP_RUNTIME_ROOT==========CP, include: CL_SOAP_RUNTIME_ROOT==========CM004, line: 100)..Message E CNAOBAR 803 cannot be processed in plugin mode HTTP)

Maybe I'm misinterpreting the relationship?

Any help appreciated!

Regards,

Uwe.