cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 500 Error during parsing of SOAP header

Former Member
0 Kudos

Hi

I am trying to pick up a file and send it to Sap XI 3.0 , but I get this error :

Sending binary message "9aebdb18-de08-3904-b53e-e5288ff90fd5" type "application/xml" to Integration Engine... (message size: 7 bytes, URL: "http://xi:8004/sap/xi/engine?type=entry"

ERROR: Finished sending to Integration Engine with error "com.sap.aii.messaging.net.TransportException: HTTP 500 Error during parsing of SOAP header

http-Response:

content-type: text/xml

content-length: 963

content-id: <soap-72E83B43EDD76260E1000000AC101E43@sap.com>

soapaction: 'http://sap.com/xi/XI/Message/30'

server: SAP Web Application Server (1.0;640)

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

<SOAP:Header>

</SOAP:Header>

<SOAP:Body>

<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during parsing of SOAP header</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSER">ITEM_MISSING</SAP:Code><SAP:P1>/@versionMajor</SAP:P1><SAP:P2/><SAP:P3/><SAP:P4>ST: ST_XMS_MSGHDR30_MAIN</SAP:P4><SAP:AdditionalText>Attribute 'versionMajor' expected</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>XML tag /@versionMajor missing in SOAP message header (SAP XI Extension)

<b>Attribute 'versionMajor' expected</b>

</SAP:Stack></SAP:Error></detail></SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Can someone tell me what is going on?

what does it mean "Attribute 'versionMajor' expected" ?

Thanks a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I use a local file adapter to pick up the file.

Thanks a lot.

stefan_grube
Active Contributor
0 Kudos

You mean: a J2SE file adapter?

In that case, patch to the newest available level (if you still have XI 2.0 file adapter, replace it with XI 3.0)

In the configuration there should be this entry:

version=30

Regards

Stefan

Former Member
0 Kudos

Hello,

I have the same problem. I have the version=30 in my configuration. Also, I am using adapter version 3.0. Any tips on how to get around this problem?

Regards

Cerish

Former Member
0 Kudos

Hi,

versionMajor is an attribute of the Main tag of the SOAP Header.

eg:

<SAP:Main mlns:SAP="http://sap.com/xi/XI/Message/30"
 xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
versionMajor="003" versionMinor="000" 
SOAP:mustUnderstand="1" 
wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">

What are you using to pick up the file and send it to XI?

Cheers

Manish