Bing Maps SOAP services throw exception while building the proxy classes using Axis RRS feed

  • Question

  • Hi

    We are upgrading from MWS to Bing Maps with SOAP services, searchservice. We are using the following URL to generate the proxy classes.

    when we try using wsdl2java of  Axis 1.3, we receive the following exception ERROR: Missing <soap:fault> element inFault "ResponseSummaryFault" in operation "ResponseSummaryFault", in binding Search
            at org.apache.axis.wsdl.symbolTable.SymbolTable.faultsFromSOAPFault(
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populateBindings(
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(
            at org.apache.axis.wsdl.symbolTable.SymbolTable.add(
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(
            at org.apache.axis.wsdl.gen.Parser$
            at Source)

    Is the webservice URL correct? Kindly let us know how to generate the proxy classes.






    • Moved by Ricky_Brundritt Friday, March 9, 2012 6:08 PM (From:Bing Maps: Map Control and Web services Development)
    Wednesday, June 1, 2011 10:32 AM


All replies

  • Take a look at this article:
    Windows Live Developer MVP - |
    Wednesday, June 1, 2011 12:00 PM
  • Here are some informations about the Bing Maps SOAP Web Services:


    The Bing Maps SOAP Search Service is: 

    The WSDL Url that is used results in this:


    Here some links in order to generate proxy classes from the WSDL:

    MVP - Bing Maps - My blog (FR): Twitter:
    Wednesday, June 1, 2011 3:19 PM
  • Thanks for the response Nicolas and Richard!

    We are still not able to generate the proxy classes for the Search service, using AXIS

    We are using the default options of WSDL2Java. Below is the complete stack trace of the exception:


    [ERROR] Malformed uri: CustomBinding_ISpatialSearchService_policy
    java.lang.RuntimeException: Malformed uri: CustomBinding_ISpatialSearchService_policy
            at org.apache.neethi.PolicyReference.getRemoteReferedElement(
            at org.apache.neethi.PolicyReference.getRemoteReferencedPolicy(
            at org.apache.neethi.PolicyReference.normalize(

            at org.apache.axis2.util.PolicyUtil.getMergedPolicy(

            at org.apache.axis2.description.AxisBindingMessage.calculateEffectivePolicy(
            at org.apache.axis2.description.AxisBindingMessage.getEffectivePolicy(
            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getBindingPolicyFromMessage(

            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getInputElement(
            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.generateMethodElement(
            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.loadOperations(
            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.createDOMDocumentForCallbackHandler(
            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeCallBackHandlers(
            at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub(
            at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
            at org.apache.axis2.wsdl.WSDL2Code.main(
            at org.apache.axis2.wsdl.WSDL2Java.main(

    Can't we use axis to generate the proxy classes? Is the WSDL has some issue? Has there been any implementation for the SOAP services using Java? Kindly throw us some light on this,


    Thanks a Lot!


    Thursday, June 9, 2011 6:23 AM
  • There has always been issues using the SOAP services with AXIS. Try using the classes generated here: You may also want to consider using the REST Phonebook service for instead of the SOAP search service found here:
    Windows Live Developer MVP - |
    Thursday, June 9, 2011 11:27 AM
  • Hi Richard


    Thanks for the response.


    Our task is to upgrade our existing store locator applications(MWS) to use the new Bing Maps. Can we use the spatial data with REST? We have to host the database as per the customer locations and accrodingly get the nearest locations list.



    Thursday, June 9, 2011 11:48 AM