New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

SOAP problem With Leopard and Java 1.5


Post Reply New Thread Subscribe

 
Thread Tools
danielccosta

 
Member Since: Apr 15, 2008
Posts: 1
danielccosta is on a distinguished road

danielccosta is offline
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!!!
QUOTE Thanks
dlyoung

 
Member Since: May 30, 2008
Posts: 1
dlyoung is on a distinguished road

dlyoung is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Xcode use help | Word document on Mac based browser »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 01:42 AM.

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

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?