users@jax-rpc.java.net

Re: problem with WSDL file, "jaxrpc compilation exception" in .ear deploy step

From: Bobby Bissett - Javasoft <Robert.Bissett_at_Sun.COM>
Date: Wed, 14 Jul 2004 15:56:48 -0400

Hi all,

Concerning the addresses not all being transformed when there are 2 or
more ports in the service, the problem is that the transformer needs to
know what the url mapping for each port is in order to transform the
wsdl file. The service will then have multiple interfaces (i.e.,
Hello1IF and Hello2IF) and multiple impl classes. After generating these
with wscompile, wsdeploy is used to package everything.

I already described the jwsdp case, in which you just have to add the
extra ports to the jaxrpc-ri.xml file before running wsdeploy, and it
takes care of everything for you.

In the j2ee case using deploytool (Merten's case), you can only add one
endpoint implementation class at a time in the web module wizard. What
worked for me was to go through the wizard and create the service with a
single impl class in it, and then add the extra one. File -> New Web
Component, and in WAR Location I selected "Add to Existing WAR Module"
and step through it. You have to enter the namespace and local part
manually, but it adds the second component to the service for you. Then
you select the component after the wizard finishes and add an alias for
it like with the first one and deploy. After that, both addresses in my
wsdl file were being changed correctly.

Cheers,
Bobby





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net