on 10-30-2009 1:28 PM
Hello,
I'm consuming Enterprise Services (from the Manage Project In Interface) on the ES Workspace. When I create networks or network activities with the "Create Project Network" or "Create Project Activity" services, I would expect to get the ID of the created objects in the ID tag, as announced in the WSDLs. Instead there is no ID tag in the response, although there was no error and the object was created (since it can be read afterwards). Here is an excerpt of a sample response from the ProjectERPNetworkCreateRequestConfirmation_In service (unfortunately posting the whole XML leads to an error):
<ProjectERPNetworkCreateConfirmation_sync xmlns:n0="http://sap.com/xi/EA-APPL/SE/Global" xmlns:prx="urn:sap.com:proxy:HU2:/1SAI/TASC0FA6E6C7435C28CA4BE:701:2008/06/06">
<Log>
<Item>
<TypeID>004(CNIF_PI)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Individual check for creating the object Network % 00000000001 required</Note>
<WebURI><a href="http://iwdf2379.dmzwdf.sap.corp:50080/sap/xi/docu_apperror?ID=NA&OBJECT=CNIF_PI004&LANGUAGE=E&MSGV1=Network&MSGV2=%" TARGET="test_blank">http://iwdf2379.dmzwdf.sap.corp:50080/sap/xi/docu_apperror?ID=NA&OBJECT=CNIF_PI004&LANGUAGE=E&MSGV1=Network&MSGV2=%</a> 2500000000001</WebURI>
</Item>
<Item>
<TypeID>052(CNIF_PI)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Network 903879 (% 00000000001) was created successfully, GUID DEC54D0ADA497DF18D260019BBD30CE4</Note>
</Item>
<Item>
<TypeID>050(CNIF_PI)</TypeID>
<SeverityCode>1</SeverityCode>
<Note>Final check of all networks involved: No Error</Note>
</Item>
</Log>
</ProjectERPNetworkCreateConfirmation_sync>
The question is: Why is there no ID tag and what is that "Individual check" the Log is talking about? Of course the given link (...sap.corp) is not available from outside the SAP network
Can somebody please clarify?
In the meantime I found out that:
1.) There never is an ID in the response. My solution ist to parse the Log tag and extract the created ID from there.
2.) The URL in the response is invalid, regardless which system you're on. I don't care any longer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.