Hi I use an RPC/literal WS4EE JBoss EJB Endpoint. The Service Methods returns an Bytearray or null. And this is a problem, if the method returns an Bytearray everything works fine, but if the Service returns null following Remoteexception is thrown by my JWSDP 1.6 Client:
| RemoteException: Runtime exception; nested exception is: unexpected null value for literal data | at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318) | at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300) | the SOAP Response : | <?xml version="1.0" encoding="UTF-8"?> | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | <soapenv:Body> | <ns1:myMethodResponse xmlns:ns1="http://myWS.org/method"> | <result xsi:type="xsd:base64Binary" xsi:nil="1"/> | </ns1:myMethodResponse > | </soapenv:Body> | </soapenv:Envelope> | Is there a way that my JAXRPC Client recognize the xsi:nil attribute and get a null as return value? thx dre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895540#3895540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895540 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user