Forum Discussion
Petrander
14 years agoNew Contributor
I got it to work!!! I finally got the code to generate the SOAP message with all its namespaces properly.
This is the (top part of the) message that works, please note the prefix for ShipmentInformationMessage-element, exactly how I wanted it:
I am a happy man now after being at this for a week!

This is the (top part of the) message that works, please note the prefix for ShipmentInformationMessage-element, exactly how I wanted it:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://www.logiasoftware.fi/ShipmentInformationService/PutShipmentInformationMessage</Action>
</s:Header>
<s:Body>
<ns1:ShipmentInformationMessage xmlns:ns2="http://www.logiasoftware.fi/schema/Transportation/2011/01" xmlns:ns3="http://www.logiasoftware.fi/schema/Common/2011/01" xmlns:ns1="http://www.logiasoftware.fi/message/Transportation/2011/01">
<ns1:SenderId>DKITELLA</ns1:SenderId>
<ns1:RecipientId>PARTNER</ns1:RecipientId>
<ns1:CreationTimeStamp>2011-08-10T07:44:52.9423961+02:00</ns1:CreationTimeStamp>
<ns1:Version>2.0</ns1:Version>
<ns1:TestIndicator>true</ns1:TestIndicator>
<ns1:ControlParty>
<ns3:Name>PrimaryContact</ns3:Name>
<ns3:Contact d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ns1:ControlParty>
<ns1:Action>new</ns1:Action>
I am a happy man now after being at this for a week!
