Run:
  CATraffic.jsp
   

View:
CATraffic.jsp
CATrafficServiceProxy.java
 
 
 

Using JSP Dynamic Web Service client Demo 

This example demonstrates use of JSP to develop a Web Service client for a web service provided by a third party provider.
This demo uses web services provided by XMethods. The description WSDL of the web service is available at http://www.xmethods.net/sd/2001/CATrafficService.wsdl
This demo uses a proxy generated (Automatically generated by Oracle JDeveloper 9i) from the above mentioned WSDL document.


Note : If you network uses a firewall or requires HTTP proxy server to access internet then you may need to set HTTP proxy host and port information to access the webservices from internet.
You can set this information by passing following options while starting OC4J server .
-Dhttp.proxyHost Allows the proxy host name to be specified when an HTTP URL is used to supply the location of the WSDL document and an
HTTP proxy server is required to access it.
-Dhttp.proxyPort Allows the proxy port number to be specified when an HTTP URL is used to supply the location of the WSDL document and
an HTTP proxy server is required to access it.
For example the command to start OC4J will look like .
java -Dhttp.proxyHost=myProxyHost -Dhttp.proxyPort=80 -jar oc4j.jar

Copyright (c) 2001, 2002, Oracle Corporation. All rights reserved.