cancel
Showing results for 
Search instead for 
Did you mean: 

Error implementing Web Service of PI7.0

Former Member
0 Kudos
63

Hi all:

We released a Web Service in PI. But when we implement it from Web Dynpro, it throws the "SOAPFaultException" exception.Detail message is:

<detail xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1"> <SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code>

<SAP:P1>Main/@versionMajor</SAP:P1>

<SAP:P2>000</SAP:P2>

<SAP:P3>003</SAP:P3>

<SAP:P4/>

<SAP:AdditionalText/>

<SAP:ApplicationFaultMessage namespace=""/>

<SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003&#xd;</SAP:Stack> </SAP:Error>

</detail>

Has anybody met this problem before?

View Entire Topic
prateek
Active Contributor
0 Kudos

In XI adapter, choose the Message protocol as XI 3.0 instead of XI 2.0

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Thank you for quck reply. But can you tell me where to set is Protocol?

Former Member
0 Kudos

Hi Wayne,

It seems that you have not included fault message type in your Interface that is being exposed as web service.

Could you try creating a fault message and including that in your interface.

Regards

Pushkar

Former Member
0 Kudos

Hi

We have found the reason. When the service used Enumeration types. Who can tell why is that?

Former Member