The only problem is that it does't fill in the soapaction field. Can you
find if this is jboss.net's problem or a bug in axis?

On Tue, 2002-06-11 at 09:46, Jung , Dr. Christoph wrote:
> Hello Thomas,
> 
> The wsdl is normally generated by the Axis engine at runtime. 
> 
> Try the following url :
> 
> http://localhost:8080/axis/services/Hello?wsdl
> 
> And the wsdl should pop out. If using .Net, simple use the above address in
> the Add-Web Reference dialogue.
> 
> (De-)serialization of complex types in jboss.net is done similar to the Axis
> engine. You write typemappings inside
> a WSDD document which now goe into the META-INF/web-service.xml into your
> deployable .wsr file. If you want to interface
> A .Net Web service, you generate a client-stub class using wsdl2java and you
> put it as an <external-web-service/> into your
> Wsdd (see the example in the testsuite and the just updated
> newsite/jboss-net.jsp which will get active in the next days). 
> 
> 
> Best,
> CGJ
> 
> 
> -----Urspr�ngliche Nachricht-----
> Von: Thomas Phan [mailto:[EMAIL PROTECTED]] 
> Gesendet: Dienstag, 11. Juni 2002 07:46
> An: [EMAIL PROTECTED]
> Betreff: Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
> 
> 
> Hi Frederick,
> 
> Thanks. Yes, I got the Hello sample from the 3.1 source tree.
> 
> Now, I got the server deployed. Does xdoclet possible to generate the WSDL
> file as well. I'm going to write a C# client. Do I need to do, java
> org.apache.axis.wsdl.Java2WSDL -o Hello.wsdl
> -l"http://localhost:8080/axis/services/Hello"; Hello, manually, so that I can
> add a Web Reference in C#?
> 
> Just wonder, If my web service contains a complex type that requires a
> serializer/deserializer, such as,
> 
>  <types>
>   <schema xmlns="http://www.w3.org/2001/XMLSchema";
> targetNamespace="http://interfaces.esb";>
>    <complexType name="RegionData">
>     <sequence>
>      <element name="regionId" nillable="true" type="SOAP-ENC:int"/>
>      <element name="regionDescription" nillable="true" type="xsd:string"/>
>      <element name="territoriesData" nillable="true"
> type="intf:ArrayOf_tns2_TerritoriesData"/>
>     </sequence>
>    </complexType>
>    <complexType name="TerritoriesData">
>     <sequence>
>      <element name="territoryId" nillable="true" type="xsd:string"/>
>      <element name="territoryDescription" nillable="true"
> type="xsd:string"/>
>     </sequence>
>    </complexType>
>    <element name="RegionData" nillable="true" type="tns2:RegionData"/>
>   </schema>
>   <schema xmlns="http://www.w3.org/2001/XMLSchema";
> targetNamespace="urn:Region">
>    <complexType name="ArrayOf_tns2_TerritoriesData">
>     <complexContent>
>      <restriction base="SOAP-ENC:Array">
>       <attribute ref="SOAP-ENC:arrayType"
> wsdl:arrayType="tns2:TerritoriesData[]"/>
>      </restriction>
>     </complexContent>
>    </complexType>
>   </schema>
>  </types>
> 
> What should I do in JBoss.net? In Axis (without JBoss), Wsdl2java generates
> some new methods, equals, hashCode, getSerializer, and getDeserializer, in
> my serializable JavaBean (i.e. the xdoclet generated data bean; created by
> the <dataobject/> tag)
> 
> Thanks
> 
> ----- Original Message -----
> From: "Frederick N. Brier" <[EMAIL PROTECTED]>
> To: "Thomas Phan" <[EMAIL PROTECTED]>
> Sent: Tuesday, June 11, 2002 6:52 AM
> Subject: Re: [JBoss-user] JBoss.net installation/deployment using xdoclet
> 
> 
> > My apologies.  These comments are in reference to the 3.1Alpha in CVS.
> Not
> > the 3.0 Final.  I wasn't aware that this code was in there.  The Hello 
> > example is still in a bit of flux, which is why its not called by the 
> > parent build file.
> >
> > If you don't see the jboss.net MBean using the port 8082 interface, 
> > then maybe, unfortunately, the axis-config.xml has an error.  I just 
> > fixed it.  If that is not it, perhaps there is another issue.
> >
> > I don't know what port 8083 does.
> >
> > On the Hello World program, it is demonstration of Macromedia 
> > Flash/SOAP integration.  It also uses a XDoclet extension that Dr. 
> > Jung wrote and I built into an xdoclet.jar which is in 
> > ./jboss-all/jboss.net/tools/lib.  Unfortunately, because there is an 
> > XDoclet in ./jboss-all/tools/lib it, as a classpath overrides the
> build.xml
> > for the Hello sample.  So... if you want to temporarily remove the 
> > xdoclet.jar in the master directory.  The sample will then build.  
> > Sorry, it is a hack.
> >
> > One of the goals of this sample is to show how a single build.xml file 
> > can cleanly generate all the interface sources, deployment descriptors 
> > and archives for an .ear: HelloSession.java, HelloLocal.java, 
> > HelloLocalHome.java, HelloUtil.java, web.xml, jboss-web.xml, 
> > web-service.xml, ejb-jar.xml, jboss.xml, application.xml, hello.jar, 
> > hello.wsr, hello.war, hello.ear.  I was trying to avoid having a 
> > separate XDoclet subtask since I was planning on updating xdoclet.  
> > The build does work.  There is no need for stubs, skeletons, or wsdl 
> > files.  All of it is generated from one HelloBean.java file.  Just 
> > copy the ./jboss.net/samples/Hello/output/lib/hello.ear into the 
> > deploy directory and it should work. Just request 
> > http://localhost:8080/hello .
> >
> > This Hello World program uses a JSP tag and page to embed the SOAP 
> > root context into the Flash plugin html elements.  The 
> > HelloWorldForm.swf Flash program when you press the "say hello" button 
> > generates a SOAP message to the server, which goes through the 
> > servlet/axis engine to the EJB
> container
> > and back out to your browser.
> >
> > One last note on the example.  The version in CVS only works for IE.  
> > The version I am currently working on has Actionscript classes to 
> > support the SOAP communication.  I will check that in as soon as I can 
> > bundle it as a Macromedia Flash Extension.
> >
> > I'm currently looking at upgrading the JBoss build process to use the 
> > latest version of XDoclet and its new extensible architecture.  That 
> > way subtasks can just be copied as needed into the lib directory.
> >
> > Also be aware that in order to run the Flash SOAP service you need to 
> > make changes in the axis-config.xml (uncomment the 
> > FlashNamespaceHandler) and install-axis.xml (comment out the "normal" 
> > servlet, uncomment the flash
> > servlet) files.  Currently you can only run one Axis engine, but we are
> > looking at changing that.
> >
> > Frederick N. Brier
> > Multideck Corporation
> >
> > At 03:06 PM 6/10/2002, you wrote:
> > >Hi,
> > >
> > >I installed JBoss 3 final (Jetty), but doesn't find that JBoss.net is 
> > >installed in the binary package. Unlike JBoss 3 RC 3, I get error 404
> back
> > >from http://localhost:8080/axis/servlet/AxisServlet now. How may I 
> > >set it
> to
> > >work? And what does port 8083 do?
> > >
> > >I deployed a few web services in Axis/Tomcat successfully. And I 
> > >looked
> at
> > >the CVS's jboss-all/jboss.net/samples/Hello example. In this example, 
> > >a special xdoclet.jar is used with the tag, @jboss-net:web-service
> urn="Hello"
> > >expose-all="true" in the session bean. I followed this example, and 
> > >made
> my
> > >web-service.xml, and .wsr file using ANT. But I wonder about the 
> > >stub/skeleton class, and the WSDL file? Where should they be stored? 
> > >In
> the
> > >.wsr file? Should we create them manually using Axis' tool in 
> > >advance?
> Where
> > >may I find more information?
> > >
> > >Thanks
> > >
> > >Thomas
> > >
> > >
> > >_______________________________________________________________
> > >
> > >Don't miss the 2002 Sprint PCS Application Developer's Conference 
> > >August 25-28 in Las Vegas - 
> > >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> > >
> > >_______________________________________________
> > >JBoss-user mailing list
> > >[EMAIL PROTECTED] 
> > >https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference August
> 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to