i've wondered about this. anyone can provide further information about what
a wsdl would look like for jaxm. i was thinking that the wsdl would be
primarily defined by an xsd that mimicks the dtd of the xml your sending?

as i  mentioned in my other post, here is what running java2wsdl (axis) gave
against my servlet. i was just happy that it ran.

any pointers? 



<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:nextsource"
xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:SOAP-ENC="htt
p://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="urn:nextsource-impl"
xmlns:intf="urn:nextsource" xmlns:tns2
="http://servlet.javax"; xmlns:tns3="http://lang.java";
xmlns:tns4="http://soap.xml.javax"; xmlns:wsdl="http://sch
emas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/200
1/XMLSchema">
 <types>
  <schema targetNamespace="http://servlet.javax";
xmlns="http://www.w3.org/2001/XMLSchema";>
   <complexType name="ServletConfig">
    <sequence/>
   </complexType>
   <element name="ServletConfig" nillable="true" type="tns2:ServletConfig"/>
  </schema>
 <schema targetNamespace="http://lang.java";
xmlns="http://www.w3.org/2001/XMLSchema";>
   <complexType name="Throwable">
    <sequence/>
   </complexType>
   <element name="Throwable" nillable="true" type="tns3:Throwable"/>
  </schema>
  <schema targetNamespace="http://soap.xml.javax";
xmlns="http://www.w3.org/2001/XMLSchema";>
   <complexType name="SOAPMessage">
    <sequence>
     <element name="ContentDescription" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <element name="SOAPMessage" nillable="true" type="tns4:SOAPMessage"/>
  </schema>
 </types>
   <wsdl:message name="ServletException">
      <wsdl:part name="rootCause" type="tns3:Throwable"/>
   </wsdl:message>
   <wsdl:message name="onMessageRequest">
      <wsdl:part name="in0" type="tns4:SOAPMessage"/>
   </wsdl:message>
   <wsdl:message name="initResponse">
   </wsdl:message>
   <wsdl:message name="initRequest">
      <wsdl:part name="in0" type="tns2:ServletConfig"/>
   </wsdl:message>
  <wsdl:message name="onMessageResponse">
      <wsdl:part name="return" type="tns4:SOAPMessage"/>
   </wsdl:message>
   <wsdl:portType name="ReceivingServlet">
      <wsdl:operation name="init" parameterOrder="in0">
         <wsdl:input message="intf:initRequest"/>
         <wsdl:output message="intf:initResponse"/>
         <wsdl:fault message="intf:ServletException"
name="ServletException"/>
      </wsdl:operation>
      <wsdl:operation name="onMessage" parameterOrder="in0">
         <wsdl:input message="intf:onMessageRequest"/>
         <wsdl:output message="intf:onMessageResponse"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="receiverSoapBinding" type="intf:ReceivingServlet">
      <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="init">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:nextsource"
 use="encoded"/>
         </wsdl:input>
         <wsdl:output>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:nextsource"
 use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="onMessage">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input>
            <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:nextsource"
 use="encoded"/>
         </wsdl:input>
         <wsdl:output>
           <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:nextsource"
 use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="ReceivingServletService">
      <wsdl:port binding="intf:receiverSoapBinding" name="receiver">
         <wsdlsoap:address
location="http://10.1.1.246:8080/jaxm-simple/receiver"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>

 

-----Original Message-----
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 12:36 AM
To: [EMAIL PROTECTED]
Subject: JAXM and WSDL


Is there a way to publish my service (ie my document oriented service
which is looking for a particular SOAP message) with WSDL in JAXM ?

/sam

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to