To enable DS to use Bing Search service to search address

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
abhinavagarwal
Participant
Posts: 26
Joined: Thu Jun 19, 2008 12:39 am
Location: Atlanta

To enable DS to use Bing Search service to search address

Post by abhinavagarwal »

Hi All

I need help to enable DataStage to use Bing Search service to search addresses via providing Latitude and Longitude as input in WSDL stage.

Can anyone please help me for these?

Many thanks in advance.

-Thanks and regards
Abhinav Agarwal
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Moved to the proper forum, removed cell phone number and request to "setup a call". Discussions happen here, not over the phone. FYI, I deleted the duplicate post made under another name as well.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Have you managed to import the wsdl?
-craig

"You can never have too many knives" -- Logan Nine Fingers
abhinavagarwal
Participant
Posts: 26
Joined: Thu Jun 19, 2008 12:39 am
Location: Atlanta

Post by abhinavagarwal »

thanks Craig for helping on the number and forum stuff !!!!

My problem is open still, I have got no soultion for this, I have tried using WSDl available at web but ... when I tried to import metadata of the same in WSDL stage ... it is giving me error. ....
I am using following WSDL ....
<?xml version="1.0" encoding="utf-8" ?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd" xmlns:i0="http://dev.virtualearth.net/webservices ... /contracts" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://dev.virtualearth.net/webservices/v1/geocode" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" name="GeocodeService" targetNamespace="http://dev.virtualearth.net/webservices/v1/geocode" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsp:Policy wsu:Id="CustomBinding_IGeocodeService_policy">
<wsp:ExactlyOne>
<wsp:All>
<msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004 ... netbinary1" />
<wsaw:UsingAddressing />
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
<wsdl:import namespace="http://dev.virtualearth.net/webservices ... /contracts" location="http://dev.virtualearth.net/webservices ... vice1.wsdl" />
<wsdl:types />
<wsdl:binding name="BasicHttpBinding_IGeocodeService" type="i0:IGeocodeService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Geocode">
<soap:operation soapAction="http://dev.virtualearth.net/webservices ... ce/Geocode" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="ResponseSummaryFault">
<soap:fault use="literal" name="ResponseSummaryFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="ReverseGeocode">
<soap:operation soapAction="http://dev.virtualearth.net/webservices ... rseGeocode" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="ResponseSummaryFault">
<soap:fault use="literal" name="ResponseSummaryFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="CustomBinding_IGeocodeService" type="i0:IGeocodeService">
<wsp:PolicyReference URI="#CustomBinding_IGeocodeService_policy" />
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Geocode">
<soap12:operation soapAction="http://dev.virtualearth.net/webservices ... ce/Geocode" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
<wsdl:fault name="ResponseSummaryFault">
<soap12:fault use="literal" name="ResponseSummaryFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="ReverseGeocode">
<soap12:operation soapAction="http://dev.virtualearth.net/webservices ... rseGeocode" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
<wsdl:fault name="ResponseSummaryFault">
<soap12:fault use="literal" name="ResponseSummaryFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GeocodeService">
<wsdl:port name="BasicHttpBinding_IGeocodeService" binding="tns:BasicHttpBinding_IGeocodeService">
<soap:address location="http://dev.virtualearth.net/webservices ... ervice.svc" />
</wsdl:port>
<wsdl:port name="CustomBinding_IGeocodeService" binding="tns:CustomBinding_IGeocodeService">
<soap12:address location="http://dev.virtualearth.net/webservices ... binaryHttp" />
<wsa10:EndpointReference>
<wsa10:Address>http://dev.virtualearth.net/webservices ... 10:Address>
</wsa10:EndpointReference>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Don't try just one service. Try many....do a lot of tests......there was a thread on this subject just recently --- do a lot of searches. Check out my blog in my signature...there are entries there on Web Services in the Table of Contents......go to www.xmethods.net ....look at the Termperature Conversion service someone wrote and supports there......install SOAPUI or Actional Diagnostics on the same machine as the DS Engine --- make sure that they can call the service.....etc.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply