This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL" Watch "HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL" New topic
Author

HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


I am using a Stub Based client Approach for JAX RPC

This is my Client




Exception in thread "main" java.rmi.RemoteException: HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL; nested exception is:
HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL
at com.client.BookCatalog_Stub.getBookPrice(BookCatalog_Stub.java:87)
at com.Client.main(Client.java:19)
Caused by: HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:148)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
at com.client.BookCatalog_Stub.getBookPrice(BookCatalog_Stub.java:70)
... 1 more


Save India From Corruption - Anna Hazare.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

You have a URL place holder called REPLACE_WITH_ACTUAL_URL instead of the actual URL somewhere.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much , its working .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HTTP transport error: java.net.MalformedURLException: no protocol: REPLACE_WITH_ACTUAL_URL
 
Similar Threads
problem in running the webservice
RMI problem
UnMarshalException - Nested ClassNotFoundException again
RMI problem
RMI Newbie