Hello, I will try to explain my problem as clearly as possible, taking in consideration my dificulties with the english language.
I'm using Ode-jbi to invoke a series of bpel processes which are themselves invoking webservices deployed using jsr181+http servicemix components, all packaged in the same Assembly. There is a main Bpel proccess (A). Depending on the value of one of its input elemens (action) this main bpel will call another sub-bpel proccesses (B, C, D, E....). Finally, this processes invokes the webservices. After some months of work, I have achieved to invoke sucessfully the main bpel, obtaining a soap response. The next step is to generate a Java client, for which purpose I'm using Netbeans Ent.Pack 5.5. The client seems to generate without problems, but when I run the method which invokes de bpel, I get the following exception: javax.xml.ws.WebServiceException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,261] Message: Attribute "xmlns" was already specified for element "GruposTrabajoOperationResponse". at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:277) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:534) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:258) at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:137) at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:84) at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:172) at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:106) at $Proxy17.gruposTrabajoOperation(Unknown Source) at es.intecna.Main.main(Main.java:58) Invoking the bpel proccess using the sendsoap.sh command, I obtain the following soap response: <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <GruposTrabajoOperationResponse xmlns="http://j2ee.netbeans.org/wsdl/Categorias" xmlns="http://j2ee.netbeans.org/wsdl/GruposTrabajo"> <out xmlns="http://webservices.xxxx.es/"> <documentos xmlns="http://grupos.xxxx.es" /> <grupos xmlns="http://grupos.xxxx.es" />..................... .............................. </out></GruposTrabajoOperationResponse></soapenv:Body></soapenv:Envelope> In the response appears duplicated the "xmlns" attribute. First appears the namespace of the sub-bpel proccess (http://j2ee.netbeans.org/wsdl/Categorias) and then, the namespace of the main bpel i'm invoking (http://j2ee.netbeans.org/wsdl/GruposTrabajo). I have checked all the wsdl, bpel, xsd.... and I have not found any wrong thing. However, I don't have this problem If I invoke directly one of the sub-bpel processes (B,C,D,E....). I hope you have understand me.... and can give me a solution. It's the final step to complete the project! -- View this message in context: http://www.nabble.com/Duplicated-%22xmlns%22-attribute-tf3479778.html#a9711849 Sent from the Apache Ode User mailing list archive at Nabble.com.