This content has been marked as final.
Show 2 replies
-
1. Re: WS Mappings in different packages / client mapping
thomas.diesler Jun 15, 2005 6:37 AM (in response to mkprim)AFAIK, you can add additional package mappings to wscompile's config.xml
If all fails you will probably have to manually adjust the generated jaxrpc-mapping.xml file -
2. Re: WS Mappings in different packages / client mapping
kanno Jun 16, 2005 2:38 PM (in response to mkprim)"mkprim" wrote:
Hi , I'm using JBoss 4.0.2 jax-rpc services.
I use the jwsdp (wscompile) for xml and wsdl generation from an interface.
This is my interface:package com.primary.server.analitics; import com..ev.AnaliticUpdate; public interface AnaliticsInterface extends Remote { public void publish(AnaliticUpdate analytics) throws RemoteException; public String echo(String message) throws RemoteException; }
However, as you can see, the parameters classes are in different packages than the webservice interface. So, whenever wscompile generates the wsdl and jaxrpc-mapping it points to the service package (com.primary.server.analitics) and not to the parametrs packages (com.ev and com.primary.common.product, respectively)
In the same way, when we run a client, it says that it cannot find the mapping for the AnaliticUpdate classs (one of the parameters).
I also put an ws4ee-deployment file but nothing happened.
Anyone knows how to make wscompile to use the correct namespace for eacha package? Or how to make this work?
Help will be greatly appreciated.
Marcelo
Can you post the generated wsdl and jaxrpc-mapping files? I'd like to see what you're referring to.