I'm beginning to work on making the javascript client code get along
with CXF. The message below seems utterly indigestible to my
JAX-WS+JAX-B service. The service gets an IllegalArgumentException, in
that it fails to find any non-null values. The namespaces look OK (the
javascript generator generates a few extra silly ones.)
The service is a (default) wrapped service, the method is
@WebMethod
String echo(@WebParam(name = "input")String input,
@WebParam(name="throwPlease") boolean throwSomething)
throws TestException;
Can anyone shove me in the right direction?
Encoding: utf-8
Headers: {Host=[localhost:8808], User-Agent=[Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7],
Accept-Encoding=[gzip,deflate], Accept-Language=[en-us,en;q=0.5],
Cookie=[btxaArSystem=ic],
Accept-Charset=[ISO-8859-1,utf-8;q=0.7,*;q=0.7],
connection=[keep-alive], Pragma=[no-cache],
content-type=[text/xml;charset=utf-8], Cache-Control=[no-cache],
Accept=[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,t
ext/plain;q=0.8,image/png,*/*;q=0.5], MessageType=[CALL],
Content-Length=[535],
Referer=[http://localhost:8808/test/webServiceTest.html?cacheBuster=1192
314182142], Keep-Alive=[300], SOAPAction=[""]}
Message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="uri:com.basistech.ws.fortest"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:btft="uri:com.basistech.ws.fortest"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<btft:echo><btft:input>Echo This</btft:input>
<btft:throwPlease>false</btft:throwPlease>
</btft:echo></SOAP-ENV:Body></SOAP-ENV:Envelope>