Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   SOAP problem With Leopard and Java 1.5 (http://www.mac-forums.com/forums/os-x-development-darwin/104854-soap-problem-leopard-java-1-5-a.html)

danielccosta 04-15-2008 10:33 AM

SOAP problem With Leopard and Java 1.5
 
Hey guys,

Im experiencing a communication problem with an webservice at Mac OS 10.5 (Leopard).
When I create a call to that webservice on any other Operating System, including Mac OS 10.4 (Tiger), the process run smoothly. I can request and receive the answer without any problems, but unsing this same jar file at MacOS 10.5, JRE 1.5.0-13, I get the exception below:

Important:
1) I'm using: jaxrpc-api.jar, wsclient.jar (Oracle)
2) I have free access to that URL, the connection problem occurs only with this application.


WARNING: Unable to connect to URL: http://WEBSERVICE_URL due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv okeImpl(HttpClientTransport.java:142)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv oke(HttpClientTransport.java:118)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(St reamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(Stream ingSender.java:112)
at oracle.j2ee.ws.client.dii.CallInvokerImpl.doInvoke (CallInvokerImpl.java:95)
at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCa ll.java:785)
at tibox.client.proxy.Webservice.getServiceResponse(W ebservice.java:99)
at tibox.client.proxy.Webservice.callWebFunction(Webs ervice.java:145)
at tibox.client.proxy.DeskpopWebservice.getSetupConfi guration(DeskpopWebservice.java:249)
at tibox.client.desktop.listener.MainThread.getClient Configuration(MainThread.java:515)
at tibox.client.desktop.listener.MainThread.applyConf iguration(MainThread.java:559)
at tibox.client.Main.main(Main.java:100)

CAUSE:

javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv okeImpl(HttpClientTransport.java:142)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv oke(HttpClientTransport.java:118)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(St reamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(Stream ingSender.java:112)
at oracle.j2ee.ws.client.dii.CallInvokerImpl.doInvoke (CallInvokerImpl.java:95)
at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCa ll.java:785)
at tibox.client.proxy.Webservice.getServiceResponse(W ebservice.java:99)
at tibox.client.proxy.Webservice.callWebFunction(Webs ervice.java:145)
at tibox.client.proxy.DeskpopWebservice.getSetupConfi guration(DeskpopWebservice.java:249)
at tibox.client.desktop.listener.MainThread.getClient Configuration(MainThread.java:515)
at tibox.client.desktop.listener.MainThread.applyConf iguration(MainThread.java:559)
at tibox.client.Main.main(Main.java:100)
Caused by: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. call(HttpSOAPConnection.java:152)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv okeImpl(HttpClientTransport.java:135)
... 11 more
Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. call(HttpSOAPConnection.java:148)
... 12 more
Caused by: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. post(HttpSOAPConnection.java:458)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$ PriviledgedPost.run(HttpSOAPConnection.java:865)
... 14 more
Caused by: java.io.IOException: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at HTTPClient.HttpURLConnection.<init>(HttpURLConnect ion.java:240)
at HTTPClient.HttpURLConnection.<init>(HttpURLConnect ion.java:295)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. createConnection(HttpSOAPConnection.java:758)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. post(HttpSOAPConnection.java:363)
... 15 more

CAUSE:

javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv okeImpl(HttpClientTransport.java:142)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv oke(HttpClientTransport.java:118)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(St reamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(Stream ingSender.java:112)
at oracle.j2ee.ws.client.dii.CallInvokerImpl.doInvoke (CallInvokerImpl.java:95)
at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCa ll.java:785)
at tibox.client.proxy.Webservice.getServiceResponse(W ebservice.java:99)
at tibox.client.proxy.Webservice.callWebFunction(Webs ervice.java:145)
at tibox.client.proxy.DeskpopWebservice.getSetupConfi guration(DeskpopWebservice.java:249)
at tibox.client.desktop.listener.MainThread.getClient Configuration(MainThread.java:515)
at tibox.client.desktop.listener.MainThread.applyConf iguration(MainThread.java:559)
at tibox.client.Main.main(Main.java:100)
Caused by: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. call(HttpSOAPConnection.java:152)
at oracle.j2ee.ws.client.http.HttpClientTransport.inv okeImpl(HttpClientTransport.java:135)
... 11 more
Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. call(HttpSOAPConnection.java:148)
... 12 more
Caused by: javax.xml.soap.SOAPException: Message send failed: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. post(HttpSOAPConnection.java:458)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$ PriviledgedPost.run(HttpSOAPConnection.java:865)
... 14 more
Caused by: java.io.IOException: HTTPClient.ParseException: length of IP-address (2) != length of netmask (1)
at HTTPClient.HttpURLConnection.<init>(HttpURLConnect ion.java:240)
at HTTPClient.HttpURLConnection.<init>(HttpURLConnect ion.java:295)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. createConnection(HttpSOAPConnection.java:758)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection. post(HttpSOAPConnection.java:363)
... 15 more
java.lang.Exception: Falha de conexao nas urls do webservice
at tibox.client.proxy.Webservice.leProximaUrl(Webserv ice.java:180)
at tibox.client.proxy.Webservice.restartCall(Webservi ce.java:160)
at tibox.client.proxy.Webservice.getServiceResponse(W ebservice.java:106)
at tibox.client.proxy.Webservice.callWebFunction(Webs ervice.java:145)
at tibox.client.proxy.DeskpopWebservice.getSetupConfi guration(DeskpopWebservice.java:249)
at tibox.client.desktop.listener.MainThread.getClient Configuration(MainThread.java:515)
at tibox.client.desktop.listener.MainThread.applyConf iguration(MainThread.java:559)
at tibox.client.Main.main(Main.java:100)


Thanks!!!

dlyoung 05-30-2008 07:16 PM

Same problem
 
Any answers yet? Yours is the only reference to this error message that I can find on the web.

I'm using the same OS, etc.


All times are GMT -4. The time now is 01:59 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.