File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 19655
    
  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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
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