users@jax-ws.java.net

RE: RE: NetBeans - WS Question

From: Baker, Brad \(Contr\) <"Baker,>
Date: Wed, 29 Nov 2006 18:31:53 -0500

Guess I will answer my own questions, I was making my WS as Stateless
Beans but once I made them as a Web Project the Sun found the libs just
fine.

 

That is the good, now here is the bad.

 

I have this:

    @WebMethod

    public boolean pushWebServicesRegistry(@WebParam(name = "registry")
final DTOSoapWebServicesRegistry registry) {

 

The JAXWS SI file has:

    @WebMethod

    @WebResult(targetNamespace = "")

    @RequestWrapper(localName = "pushWebServicesRegistry",
targetNamespace = "com.ngms.hdws", className =
"com.ngms.chims.hdws.registry.ws.PushWebServicesRegistry")

    @ResponseWrapper(localName = "pushWebServicesRegistryResponse",
targetNamespace = "com.ngms.hdws", className =
"com.ngms.chims.hdws.registry.ws.PushWebServicesRegistryResponse")

    public boolean pushWebServicesRegistry(

        @WebParam(name = "registry", targetNamespace = "")

        DtoSoapWebServicesRegistry registry);

 

How do I convert a DTOSoapWebServicesRegistry into a
DtoSoapWebServicesRegistry?

 

Please anyone,

Brad

 

________________________________

From: Baker, Brad (Contr) [mailto:Brad.Baker_at_ngc.com]
Sent: Wednesday, November 29, 2006 8:16 AM
To: users_at_jax-ws.dev.java.net
Subject: RE: NetBeans - WS Question

 

Ok, there is no WEB-INF\lib folder, shouldn't there be? How do I get
NetBeans to put JARs into a WEB-INF? It still seems wrong for a WS to
be just a JAR and not a WAR.

 

Some guidance please,

Brad

 

 

________________________________

From: Baker, Brad (Contr) [mailto:Brad.Baker_at_ngc.com]
Sent: Tuesday, November 28, 2006 3:46 PM
To: users_at_jax-ws.dev.java.net
Subject: NetBeans - WS Question

 

Hi all

 

I got a basic WS to work. :-)

 

Now I have an issue with the main JAR having JARs inside of it.

In the Files window on NetBeans I have:

Dist

            WS.jar

            META-INF

            Com

            A.jar

            B.jar

            C.jar

            J2EE

 

When I look at Sun:

Applications

            J2ee-Modules

                        WS

 

It has everything that is in the dist folder under NetBeans so all
should be good BUT the Sun log throws an exception about a class not
found. I have a class in the WS.jar that needs a class that is in the
A.jar but Sun can't seem to find it. In the past when I did JWSDP 2.0 I
made WARs that had JARs in them and Sun had no issues. What have I done
wrong?

 

Thanks for any help,

Brad