I am using a jsr181 pojo service that works well except that I have not been 
able to find a way to set the targetNamespace on all the complexTypes. Setting 
targetNamespace in the @Webservice() annotation sets the tns for the bindings 
and some of the complexTypes, but not all of them. Specifically it does not set 
the targetNamespace for complexTypes that are referenced as arrays eg:

    @WebMethod
    public SdmOrderStatus evaluateSdmOrder(SdmOrderRequest order) {

works fine for both the parameter and the return object

    @WebMethod
    public ProductDesc[] getProducts() {

results in a default namespace for ProductDesc, but my requested namespace for 
ProductDesc.Array

I am using jbossws from the jems-installer-1.2.0.GA (1.0.3 sp1 I think).

Any ideas would be appreciated.

Regards,
Peter Yuill


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011725#4011725

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011725
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to