2 Replies Latest reply on Mar 6, 2007 7:36 PM by superomega

    WSDL - Schema definitions

    superomega

      Hallo,

      I need some schema definitions in my wsdl.
      It should look like:

      <definitions xmlns:tns="http://cardservice.handler.jaxws.company.com/service"
       xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
       xmlns="http://schemas.xmlsoap.org/wsdl/"
       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       xmlns:ns1="http://cardservice.handler.jaxws.company.com/creditcard"
       xmlns:ns2="http://cardservice.handler.jaxws.company.com/exception"
       xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
       targetNamespace="http://cardservice.handler.jaxws.company.com/service"
       name="CardService">
       <types>
       <schema targetNamespace="http://cardservice.handler.jaxws.company.com/service" xmlns="http://www.w3.org/2001/XMLSchema">
       <import schemaLocation="CreditCardAuthorization.xsd" namespace="http://cardservice.handler.jaxws.company.com/creditcard" id="ns1"/>
       <import schemaLocation="FaultInfo.xsd" namespace="http://cardservice.handler.jaxws.company.com/exception" id="ns2"/>
       </schema>
       </types>
      
      


      I need this, because my DelphiClient don't understand the soap-message from jbossws. As I have found on the net there are problems with namespace declarations.

      Is it possible to write any annotations to get this wsdl?
      Or do I have to deploy my own wsdl file with the webservice?

      Thank you,
      Werner


        • 1. Re: WSDL - Schema definitions
          thomas.diesler

          @WebService supports wsdlLocation in which case the wsdl that you privide is fed back to the client.

          Of course you will have to set your annotations such that it conforms to the abstract contract. Try wsconsume.

          • 2. Re: WSDL - Schema definitions
            superomega

            Thank you Thomas,

            things with annotations I have tried out. And wsprovide is making a nice wsld.
            Yesterday I tried the IE on Windows to show the wsld of the webservice and what I have to see? The namespace declarations are all there.

            This firefox browser is hiding the namespace declarations, which is very ugly!

            Greets,
            Werner