What the mechanism of the Java Proxy for Web Services in WLS 8.1

Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannon

Hi Shannon,
The type of proxy I'm familiar with is at the http connection level and
associated with the networking properties in the JDK, See:
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
Your question may be related to JWS proxies, See:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
You may want to ask this question in the workshop newsgroup.
Hope this helps,
Bruce
shannon lee wrote:
>
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannon

Similar Messages

  • WSDL error during generation of  ABAP proxy for web service

    Hi friends,
    I am getting error during the generation of ABAP proxy object for web service developed in .NET .
    Error : Proxy generation terminated: WSDL error (<extension> not supported).
    How to make this WSDL file compatible  for  ABAP proxy.
    I have tried to edit WSDL file in XML Spy but did not get any option to replace/remove the tag <extention>.
    If any one worked on this. Please help me its urgent.
    Thanks and regards,
    Shivanand.

    HI ,
    I am having the same issue!!!
    Does ABAP Proxy Generation support <extension> ?
    Is there a list available of what is supported and what not (please consider I do not have access to sap notes)?
    Thanks

  • Change the end point URL in WSDL for web-service

    Hi All,
    Morning , could someone please help us with this question, we are stuck with this currently.
    In SOA Suite 10g as well 11g we have a jsimple Java class whose one of the methods is exposed as a web service.
    In the project it has created the WSDL as well and have deployed the .ear file to the servers from EM console successfully.
    Now we need to migrate this web service to testing & production environments.
    1. Could someone please let us know the steps as to how do we change the end point url in the WSDL for this web service (present in web content --> WEB-INF/wsdl path in the j-developer project) for migration in case of both 10g (OC4J) as well 11g (WLS) servers.
    2. Also could this change/update be done prior to deployment as well as post deployment as well.
    Looking forward to inputs regards this...as we are stuck with this ..would be very helpful
    Thanks as always for help & guidance..

    Hi
    As Vijay mentioned, you develop a WebService in JDeveloper and test in JDeveloper integrated Weblogic Server say at http://localhost:7101/MyWebService/MyPort?wsdl. Thats it. Once it is working. Export it into a .WAR file. If you have any other supporting EJB JARs etc, put all these into a full blown .EAR at application level. NOW deploy this .EAR or .WAR into any Domain on any host and any port. DOES not matter. That server's host and port will be taken. Infact even if this other domain is Clustered domain, still it will work by giving webserver host and webserver port that sits in front of the cluster.
    I develop my webservices in JDeveloper and test at 7101 port. This .WAR gets deployed in QC Env at qchost:qcport. Same .WAR deployed to UAT at uathost:uatport and finally to prod also at prodhost:prodport.
    Its just the Client (WebService Proxy) that is calling this WebService need to use appropriate host and port based on which Env it is connecting to. For this, simply do not hard code WSDL URL in the java code or anywhere. Simply get it from a .properties file using a key value pair like this.
    WSDL_URL=http://host:port/MyWebService/MyPort?WSDL.
    Now have Environment specific values for above key and put that properties file in that domain root folder. And in your code always refer this key.
    You can use many approaches along the above lines.
    If your WebServies proxy is a webservice adapter say within bpel, still you can modify the value using deployment plan .xml file file while deploying.
    I would not absolutely prefer opening war file from ear and modifying war and updating ear file etc etc. Also do not have multiple EARs for Environment specific. Just have only one single EAR or WAR file that can be deployed to any environment.
    Thanks
    Ravi Jegga

  • Error converting CFML arguments to Java classes for web service invocation.

    Hello all.
    I am working on writting a small application that will use a web service that is provided by our IVR (Angel.com). I am able to login, however when I attempt to do anything with complex objects, I get the error stated in the title.
    It seems to be having a problem with the array, because when I remove it, or turn it into a simple string, i get errors about the function not being found. I am fairly new to web services, and especially dealing with complex data types, so any help would be much appreciated.
    You can see my testing page at
    http://webservices.fpitesters.com/AngelCalls.cfm
    The WSDL I am using can be found at
    http://www.angel.com/outbound/wsdl/OutboundCallService.wsdl
    Here is sample code that does what I want it to do in Java / Apache Axis
    http://www.socialtext.net/ivrwiki/index.cgi?java_sample_code
    Here is a description of the function I am having problems with
    http://www.socialtext.net/ivrwiki/index.cgi?placecall
    And attached is my code.
         <cfset email = "xxxxxxxxxxxxxxxxxx">
         <cfset pin = "xxxxxxxxxxxx">
         <cfinvoke webservice="http://www.angel.com/outbound/wsdl/OutboundCallService.wsdl" method="login" returnvariable="login">
              <cfinvokeargument name="email" value="#email#"/>
              <cfinvokeargument name="pin" value="#pin#"/>
         </cfinvoke>
         <cfdump var="#login#">
         <cfset Token = login.getToken()>
         <cfdump var="#token#">
         <cfset CallItem.maxWaitTime = 100>
         <cfset CallItem.phoneNumbers[1] = "7632344306">
         <cfset CallItem.siteNumber = 100041>
         <cfinvoke webservice="http://www.angel.com/outbound/wsdl/OutboundCallService.wsdl" method="placeCall" returnvariable="call">
              <cfinvokeargument name="Token" value="#Token#"/>
              <cfinvokeargument name="CallItem" value="#CallItem#"/>
         </cfinvoke>
         <cfdump var="#call#">

    If you are not initializing phoneNumbers as an array before setting
    <cfset CallItem.phoneNumbers[1] = "7632344306">
    it will be passed as a struct with a key of 1.  This could cause your argument conversion error.
    So:
    <cfset CallItem.maxWaitTime = 100>
    <cfset CallItem.phoneNumbers[1] = "7632344306">
    <cfset CallItem.siteNumber = 100041>
    Will result in
    struct
    MAXWAITTIME
    100
    PHONENUMBERS
    struct
    1
    7632344306
    SITENUMBER
    100041
    <cfset CallItem = StructNew() > <!--- For Good Measure --->
    <cfset CallItem.maxWaitTime = 100 >
    <cfset CallItem.phoneNumbers = arrayNew(1) /> <!--- Required --->
    <cfset CallItem.phoneNumbers[1] = "7632344306">
    <cfset CallItem.siteNumber = 100041>
    Will result in
    struct
    MAXWAITTIME
    100
    PHONENUMBERS
    array
    1
    7632344306
    SITENUMBER
    100041
    - Jason Morgan

  • Starting out with Java client for Web Services

    Hi,
    I'm new to Web Services (but not Java in general). Just looking for some pointers to get me started in the right direction.
    My pressing need is to develop a Java client for a set of Web Services described through a WSDL.
    I've found the "Chapter 12: Building Web Services With JAX-RPC" section of the Web Services Tutorial. Could someone just confirm that this is the right tutorial for me to read for my puropse.
    Also I was wondering about available tools for this purpose.
    I was expecting that there would be a tool that could read a WSDL and generate client side stubs for it automatically. (Like how you can take a Remote interface and rmic it in RMI). Is there such a thing? Is it possible?
    Preferably an open source (free) tool. I use the Netbeans IDE so if anyone knows of anything that integrates with that, all the better. I had a look at their site but couldn't see anything.
    Thanks in advance for any tips anyone can provide.

    Hi,
    I'm new to Web Services (but not Java in general).
    Just looking for some pointers to get me started in
    the right direction.
    My pressing need is to develop a Java client for a set
    of Web Services described through a WSDL.
    I've found the "Chapter 12: Building Web Services
    With JAX-RPC" section of the Web Services Tutorial.
    Could someone just confirm that this is the right
    tutorial for me to read for my puropse.Yes, that's right. It manages to say very little in very many pages.
    Also I was wondering about available tools for this
    purpose.
    I was expecting that there would be a tool that could
    read a WSDL and generate client side stubs for it
    automatically. (Like how you can take a Remote
    interface and rmic it in RMI). Is there such a thing?
    Is it possible?This is exactly what the wscompile tool (distributed with the JWS SDK 1.3) does as one of its options. See http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html for more info.

  • Sample java code for web service calling

    Hello,
    I need to call the web services for adding/updating records on Oracle On Demand Entities.
    In particular i need a sample code in java language that explain how to append the sessionid
    to the SOAP request when calling the web service.
    thanks in advance.

    Hi,
    Each time you perform any SOD Operation after Login, ensure have your JSessionId attached to your actual Web Service URL like in example below
    wsLocation ="https://secure-XXXXX.crmondemand.com/Services/Integration";
    jsessionId="8d928e8330d53c6f954b16194731bad78f5f111c2043.e34PaxyNchuLe34Rax4SchaKchz0n6jAmljGr5XDqQLvpAe";
    String url=wsLocation + ";jsessionid=" + jSessionId;
    Use this url for all your future SOD Operation till you logout.
    Regards
    Deepak H Andeli

  • Java Stack for Web Service in R/3

    Hello Friends,
    I am developing a Web Service in R/3 server. Developed a RFC and converted it to Web Sevice.
    My question is, is it necessarily required to have Java Stack in my server or will it be enough to have ABAP Stack.  My server doesn't have java stack installed. shall i be able to run my Web service with ABAP stack? 
    Please help me and give me some suggesions.
                            Kumar.

    Hi Kumar,
    the above answer is simply incorrect.
    You can certainly provide a web service from the ABAP stack without any need for a Java stack.
    There are several blogs, and lots of forum posts, that discuss how to do this.
    If you have indeed "Developed a RFC and converted it to Web Service" then you are away.
    Use transaction SOAMANAGER ( or WSADMIN, WSCONFIG on earlier releases) to publish your webservice and away you go.
    Cheers
    Graham Robbo

  • "Connection refused" when using Java client for Web Service

    I deployed a web service to Weblogic Server 7.0 running on Windows 2000. I can
    use IE browser to see its WSDL perfectly but when I run the Java client, the proxy
    method call generates the following error:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:412)
    at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:390)
    at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
    ding.java:246)
    at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:34)
    at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    javax.xml.rpc.JAXRPCException: Failed to send request:java.net.ConnectException:
    Connection refused: connect
    at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:37)
    at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Exception in handler's handleRequest().
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Conn
    ection refused: connect; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    186)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:459)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)

    In your client program, when you do "new XXX_Impl(String wsdlurl)", did you
    pass in the wsdl you were hitting with browser?
    -Neal
    "Ray Yan" <[email protected]> wrote in message
    news:[email protected]...
    >
    I deployed a web service to Weblogic Server 7.0 running on Windows 2000. Ican
    use IE browser to see its WSDL perfectly but when I run the Java client,the proxy
    method call generates the following error:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:412)
    atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:390)
    atweblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
    ding.java:246)
    atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:34)
    atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    javax.xml.rpc.JAXRPCException: Failed to sendrequest:java.net.ConnectException:
    Connection refused: connect
    atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:37)
    atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Exception in handler's handleRequest().
    java.rmi.RemoteException: SOAPFault:javax.xml.rpc.soap.SOAPFaultException: Conn
    ection refused: connect; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    186)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused:connect
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:459)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)

  • Deployable Proxy for Web Service

    Hi experts,
    i try to create a deployable proxy for my web service. i created a dc in my NWDI configuration. When creating the Client Proxy Definition the ClientAPI.jar is not generated. When try this steps with a local project the API.jar gets generated and i can use this in my web module project.
    Is there a difference between, NWDI DC and local project regarding this issue?
    Thanks for any help,
    Rene

    hi
    good
    go through these links,hope these would help you to solve your problem
    http://help.sap.com/saphelp_erp2005/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/content.htm
    http://www.ifi.uzh.ch/archive/mastertheses/DA_Arbeiten_2004/Mueller_Samuel.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0cac0dea-0d01-0010-edb4-8c7b068f4677
    reward point if helpful.
    thanks
    mrutyun^

  • Java API for Web Services

    I have a .NET web service and want to make a JAVA API to communicate with the .NET webservice. Is there an easy API that will deal with the SOAP packaging and accomplish the communication for me?

    I'm not sure If I understand you question, but you should be able to take the WSDL description of the .NET web service, point your favorite java development environment at it (either locally or via a URL) and say generate me a WS client for that.
    Most environments include this as one of their tutorials.
    There are also command line tools.
    -- Frank

  • Setting Basic Authentication for Web Service in WLS 6.1

    Hi,
    I am trying to set-up a Basic Username/Password authentication for a Web Service
    that is hosted in WLS 6.1.
    How do I go about doing that? Also once I get the username and password, how do
    I pass that info
    to the SOAP servlet to do the authentication? Can you give me some pointers on
    this?
    Thanks
    Madhu

    How do you want to do it? Through use of client.jar for the service or
    directly? Here is how I do it directly:
    String auth = "guest", pwd = "guest";
    URL url = new URL("http://localhost:7001");
    URL cmdURL = new URL(url.toString()+"/systemtest/TestWebService");
    HttpURLConnection conn = (HttpURLConnection) cmdURL.openConnection();
    String encAuth =
    new BASE64Encoder().encode((auth + ":" + pwd).getBytes());
    // BASE64Encode distributes long strings on multiple
    // lines; we don't like that, no siree
    int it = 0;
    while ((it = encAuth.indexOf('\n')) != -1
    || (it = encAuth.indexOf('\r')) != -1) {
    encAuth = encAuth.substring(0, it) +
    encAuth.substring(it + 1);
    conn.setRequestProperty("Authorization", "Basic " + encAuth);
    conn.setRequestProperty("Content-Type", "text/xml");
    conn.setRequestProperty("SOAPAction", cmdURL.toString());
    conn.setDoOutput(true);
    conn.setDoInput(true);
    conn.setUseCaches(false);
    OutputStream oStr = conn.getOutputStream();
    String cmd =
    "<?xml version=\"1.0\" ?>\n"
    + "<soap:Envelope xmlns:soap=\"http://schemas.xmls"
         + "oap.org/soap/envelope/\"><soap:Body>"
    + "<ping><arg0>false</arg0></ping>"
    + "</soap:Body></soap:Envelope>";
    oStr.write(cmd.getBytes());
    oStr.close();
    InputStream iStr = conn.getInputStream();
    byte[] buffer = new byte[1024];
    while (true) {
    int size = iStr.read(buffer);
    if (size == -1)
    break;
    System.out.println(new String(buffer, 0, size));
    ThorAAge

  • What kind of Cellphone supports for Web Services in Java Application?

    I have developed a software in J2ME integrated with Web Services!
    I am wondering what kind of Cellphone (Nokia, Samsung, ...) supported Web Services now?
    Any help is appreciate!

    Hi Shannon,
    The type of proxy I'm familiar with is at the http connection level and
    associated with the networking properties in the JDK, See:
    http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
    Your question may be related to JWS proxies, See:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
    You may want to ask this question in the workshop newsgroup.
    Hope this helps,
    Bruce
    shannon lee wrote:
    >
    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

  • Could not generate stub objects for web service invocation in ColdFusion

    I was able to call the services on the development box - windows server without any problem at all, everything was working fine but the moment i uploaded to a linux box production server I get this error. "Could not generate stub objects for web service invocation in ColdFusion"
    What could be the cause of this problem, i have googled a lot but no solution yet any ideas.

    Let me make it simple:
    1. Server A is our development server.- hosted inhouse with coldfusion installed.
    2. Server B is our production server - a linux server with coldfusion installed hosted on the internet
    3. Server C is a third party server containing the webservice - this is a windows server with .net
    coldfusion is installed on Server A, the code works here and can connect to server C without any problem. It gets the required respone
    but when the code was uploaded to server c it gives the error when we run it.
    now i tried just a simple code which works fine on server A below:
    <cfinvoke webservice="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" method="ConversionRate" returnvariable="ConversionRateResult">
        <cfinvokeargument name="FromCurrency" value="EUR" />
        <cfinvokeargument name="ToCurrency" value="USD" />
    </cfinvoke>
    <cfdump var="#ConversionRateResult#" />
    But when i uploaded it to server C: it returns the error
    Cannot generate stub objects for web service invocation.
    Name: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. WSDL: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory) It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.
    The error occurred in /home/works/public_html/currency.cfm: line 7
    5 :     <cfinvokeargument name="FromCurrency" value="EUR" />
    6 :
    7 :     <cfinvokeargument name="ToCurrency" value="USD" />
    8 :
    9 : </cfinvoke>
    Now if you try the preceeding code on a windows environment  it works fine but the moment you put in the in the linux environment it generates this error
    I feel that the error may actually be :
    java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory)
    but i am clueless as to what to do next
    Ok so I tried the wget command on the linux
    this is what i got
    -bash-3.2# wget http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    --2011-07-02 23:23:42--  http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    Resolving www.webservicesx.net... 216.8.179.25
    Connecting to www.webservicesx.net|216.8.179.25|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    2011-07-02 23:23:43 ERROR 403: Forbidden.

  • What is the most up to date implementation of web services in Java?

    I'm completely new to web services and just got confused. I installed Sun App Server 9 Update 1 Patch 1 and successfully deployed some simple web services with it. Later I found sth that is called Web Services Developer Pack 2.0 but it can't use Sun App Server 9 as a container ... and requires the older version (8.1 as far as I can remember). Does it mean that JWSDP 2.0 is out of date ... and Sun App Serv 9 has bult-in web services implementation?
    Please can anyone highlight me this subject?
    Thanks!
    Artur

    ok ... just answering my own question ;)
    that's what I found on sun's website:
    the Java Web Services Developer Pack will no longer be developed as a discrete release vehicle for the Web services and XML technologies that the Java WSDP shares with Project GlassFish.
    The current release of Java Web Services Developer Pack, Version 2.0, contains the new JAX-WS 2.0 EA, JAXB 2.0 EA, and SAAJ 1.3 EA implementations, the "integrated stack" for Web services. These components are now available as FCS-quality releases in Project GlassFish.
    as far as I know ... correct me if I'm wrong ... Sun App Server 9 is based on Proj Glassfish.

  • What happened to the add to home page option for web pages. Can't find it.

    What happened to the add to home page option for web pages. Can't find it.

    Try stopping Safari followed by resetting your phone: double-tap the home button, locate Safari at the bottom (swiping if necessary), tap and hold until it wiggles, tap the minus sign.  Now reset: hold the on/off and home buttons until you see the Apple logo (ignore the off slider that appers first), then release.  If it still is missing you may need to restore your phone, which will put a fresh copy of the iOS on your phone (see http://support.apple.com/kb/HT1414).

Maybe you are looking for

  • Accessing the taskbar in flash

    hi, I just want to ask if there's a way to access or display the windows taskbar in a flash projector file. I really need help in designing an interface for a coin-operated PC. thanks in advance

  • Chnaging the query string

    Hi there guys!!! I am really in love with jasper report, but i need some information on how to change the query string of the .xml file in a java application using the prepared statement. your help is really needed...

  • Resize large images for web?

    Man I feel so dumb having to post questions here, i really look to solve these myself and usually can in just about any software program i've used for 20 years, thats my only frustration with LR. The help system just hasn't been developed fully. Oh a

  • Making an object serializable

    Hey guys, im new at this so i dont know almost anything about serialization, so here's my problem: Got an array of an object "Article" that i defined, wanna write it to a file but i get the "NotSerializableException", here's my object's constructor:

  • Build and Action at the same time

    Is it possible to have a build and an action occur at the same time. I have a photo I want to dissolve in as it is moving from one part of the screen to another. So far I've only been able to do one after the other is completed. Any way to do this?