Skip to Content
0
Oct 20, 2004 at 10:46 AM

SOAP Response ? Namespace

116 Views

Hi

Following Problem

Scenario

Step 1

Sending a SOAP Request to a Webservice.

( PTV GEO Coder )Message Interface Outbound / Synchronous

http://schemas.xmlsoap.org/soap/envelope/'> xmlns:nr1=' http://www.w3.org/2001/XMLSchema-instance' Type='eLocate.Locate' Version='1' User='Example' Pwd='Pwd'>

<GeocodeParameters MaxResults='1' UniquenessFilter='false' SortFieldCount='2'>

<SortField Name='Weight' Order='Descending'/>

<SortField Name='PostCode'Order='Ascending'/>

</GeocodeParameters><Address Country='D' PostCode='10245' City='Berlin' CityDistrict='Friedrichshain' Street='Dirschauer' HouseNumber='17'/>

</nr1:Request>

</SOAP:Body>

</SOAP:Envelope>

2. PTV Geo

Getting a Response from PTV

Message Interface Inbound / Synchronous

Response string: http://schemas.xmlsoap.org/soap/envelope/"> xmlns=" http://xml.ptv.de/eServer/eLocateServer/xml/eLocateServer.Locate.v2.wsdl" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=" http://xml.ptv.de/eServer/eLocateServer/xml/eLocateServer.Locate.Response.v1.xsd" Type="eLocate.Locate" Version="1" Status="0"> 10245BerlinFriedrichshainDirschauer~17"/><Addresses AddressCount="2" ResultListExceeded="0"><Address Country="D" PostCode="10245" City="Berlin" CityDistrict="Friedrichshain" Street="Dirschauer Str." HouseNumber="17" X="1496389" Y="6884982" CityID="11000000" Weight="100" Classification="" DetailLevel="7" DetailInformation="0" Unique="false" Levelling="15" Population="8" Area="0" MainEntry="false" UserFieldCount="0" ResultJunctionNode="0" AmbiguitiesResolved="0" SegmentID="53504555"/><Address Country="D" PostCode="10245" City="Berlin" CityDistrict="Friedrichshain" Street="" HouseNumber="" X="1496260" Y="6885766" CityID="11000000" Weight="68" Classification="" DetailLevel="4" DetailInformation="8" Unique="false" Levelling="15" Population="8" Area="0" MainEntry="false" UserFieldCount="0" ResultJunctionNode="0" AmbiguitiesResolved="0" SegmentID="-1"/></Addresses></Response></SOAP:Body></SOAP:Envelope>

3. Problem

Inbound Interface

In the moment when the Soap Response is convert to the input Data Type Response not all data are past.

Type="eLocate.Locate" Version="1" Status="0" are OK

but the rest is not in the there ?

The Problem is coming form the Namespace ="http://xml.ptv.de/eServer/eLocateServer/xml/eLocateServer.Locate.v2.wsdl"

Testing the Response Message without this Name space all is fine.

So the question is what to due ??

The information from the PTV server (SOAP Response)can not be changed ?

I need some help

Thank a lot Olaf

Message was edited by: Olaf Lehmann