Posting to a .NET web service using SOAP adapter
Hi
I'm having a problem posting to a webservice createt in .NET
I have imported the WDSL file an generated the message interface.
We have also tried testing the webservice using a java program and then it works, I hav monitored both the messages but I can't figure out whats wrong
Message sendt from XI
POST /XXXXXX.TP.WebServices/EmployeeService.asmx HTTP/1.0
Accept: /
Host: ws.XXXXXX.no:81
User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
Content-ID: <soap-eb9dae80d11c11da8bf70050568062a5@sap.com>Content-Disposition: attachment;filename="soap-eb9dae80d11c11da8bf70050568062a5@sap.com.xml"Content-Type: text/xml; charset=utf-8Content-Description: SOAP
Content-Length: 481
SOAPACTION: "http://tempuri.org/SetEmployees"
<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP:Header/>
<SOAP:Body>
<SetEmployees>
<employees>
<Employee>
<SocialSecurityNumber>21115936988</SocialSecurityNumber>
<Name>Olsen Petter</Name>
<Intials>OOP</Intials>
<Adress1>Bergflettevegen 13</Adress1>
<Adress2/>
<PostalCode>4102</PostalCode>
<City>IDSE</City>
</Employee>
</employees>
</SetEmployees>
</SOAP:Body>
</SOAP:Envelope>
Message sendt from Java application: WORKS
POST /XXXXXX.TP.WebServices/EmployeeService.asmx HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.3
Host: ws.XXXXXX.no:81
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://tempuri.org/SetEmployees"
Content-Length: 570
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope 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">
<soapenv:Body>
<SetEmployees xmlns="http://tempuri.org/">
<employees>
<Employee>
<SocialSecurityNumber>08077546433</SocialSecurityNumber>
<Name>Testy Tester</Name>
<Initials>TT</Initials>
<Address1>Address1</Address1>
<Address2>Address2</Address2>
<PostalCode>1142</PostalCode>
<City>City</City>
</Employee>
</employees>
</SetEmployees>
</soapenv:Body>
</soapenv:Envelope>
How can I edit the message sendt from XI SOAP adapter?
Please help a beginner
Best Regards,
Morten