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.

Similar Messages

  • Intermittent Could not generate stub objects for web service invocation errors

    Hi,
    I'm hoping someone can point me in the right direction...We are running Coldfusion 8 and keep getting the stub objects errors intermittently.  The web service will work for a while then it will just stop working for while, then it will start back working again.  There doesn't seem to be any rhyme or reason to it, and we're not doing anything to the server in the meantime.  I don't even know how to begin to diagnose the problem.  Has anyone ever seen this or have any ideas of some things we can check?
    Thanks!
    Holli

    It's a load-balanced environment and we've turned the bad server off for now.  Also, I was wrong.  We're running CF7. I'm getting my environments mixed up. Sorry about that. You can still get to the service on the good server though. This is the link: http://www.asthmaagents.com/services/init.cfc?WSDL  After I posted this, we were able to get a little more info.  When I went directly to the service using that link, we got this error message off and on when we would refresh the browser:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Fault - Error attempting to create Java skeleton for CFC web service; nested exception is:
        coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : cfinit2ecfc338058839$funcRECORDSESSION]
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: Error attempting to create Java skeleton for CFC web service; nested exception is:
        coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : cfinit2ecfc338058839$funcRECORDSESSION]
    faultActor:
    faultNode:
    faultDetail:
        {http://xml.apache.org/axis/}hostname:corpinternet1g
    Still, nothing is consistent and it's working fine on the other server.  I'm at a loss.  I really appreciate you taking a look at this! Any info will be helpful.
    Thanks!
    Holli

  • Could not generate stub objects for web service invocation

    HELP:!!!!!!!!!! Adobe- My client is ready to move to another
    technology if this simple solution cannot work!
    I am having a hard time invoking the ws below in a
    Unix/CF7/Apache 2.0 environment. I can query the WSDL and it works
    successful in a windows dev environ. However when going to UNIX it
    is unsuccessful. I am thinking that it is a permissions issue or
    something. Further more I cannot even register other Webservices in
    the CF admin ( eg bable fish) Why? Has anyone come up with a
    solution? Thanks in advance for any help.
    My PAGE
    <cfinvoke webservice="
    http://120.252.201.51:8200/test.cfc?wsdl"
    method="getXML" returnvariable="foo">
    <cfinvokeargument name="XMLInput" value="Hello THere">
    </cfinvoke>
    <br><cfoutput>#foo#</cfoutput>
    MY WS:
    <cfcomponent output="Yes">
    <cffunction name="getXML" returnType="string"
    access="remote" output="Yes">
    <cfargument name="XMLInput" type="string" >
    <cfoutput>#XMLInput#</cfoutput>
    <cfreturn #XMLInput#>
    </cffunction>
    </cfcomponent>

    Does the following version do any better?
    My PAGE
    <cfinvoke
    webservice="
    http://120.252.201.51:8200/test.cfc?wsdl"
    method="getXML"
    XMLInput="Hello THere"
    returnvariable="foo"
    username="user name"
    password = "password"
    timeout = "30" />
    MY WS
    <cfcomponent>
    <cffunction name="getXML" returnType="string"
    access="remote">
    <cfargument name="XMLInput" type="string" >
    <cfreturn Arguments.XMLInput>
    </cffunction>
    </cfcomponent>

  • Could not generate stub object - The element type "META" must be terminated by the matching end-tag "".

    I am getting the following error message when I try invoking
    a webservice.
    Could not generate stub objects for web service invocation.
    Name: ProgrammePrivilege. WSDL:
    https://clientaccweb.reseaudistinction.com/CardHolderInfo.asmx?WSDL.
    org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The
    element type "META" must be terminated by the matching end-tag "".
    It is recommended that you use a web browser to retrieve and
    examine the requested WSDL document for correctness. If the
    requested WSDL document can't be retrieved or it is dynamically
    generated, it is likely that the target web service has programming
    errors.
    The problem is, the webservice is working fine, the
    application was working yesterday, the error message just appears
    after a couple of days and I have to refresh the service in the CF
    Administrator. Once I refresh it, everything starts working again.
    Anyone else got this problem? ANY help would be appreciated!
    If you guys need my code anyway, I can attach it but like I
    said, everything works for a couple of days, then, out of the blue,
    it stops working so I doubt that it's my CFINVOKE that's the
    problem...

    Similar kind of problems here - reported back to Adobe a
    couple of months ago, so let's wait and hope for the best. My
    problems have related to registering multiple web services and
    executing them. One problem is that, If I register two identical
    (and quite complex) web services, I can only execute either of
    them. After CF restart, either of them works, but invoking the
    other doesn't work.
    For example; CF_Restart -> Try A first, A works -> B
    doesn't. Also, CF_Restart -> Try B first, B works -> A
    doesn't.
    CFMX7.0.2, Apache 2.2, WinXP

  • Best Practice for WSDL Generate Proxy Class for Web Service with Two Versions

    Dear All
    Thank you in advance for you help.
    I would like to generate proxy classes for same function but with two versions.
    Old version web service (v23.2) is used for stable modules in a project which is not going to modify.
    However, enhancement is added in new version web service (v24) and is going to use in any future modules.
    For example,
    wsdl.exe -o="TestProxy.cs" -l:CS -n:Test -sharetypes https://community.workday.com/custom/developer/API/Notification/v23.2/Notification.wsdl https://community.workday.com/custom/developer/API/Notification/v24.0/Notification.wsdl
    It generates similar classes with an '1' added at the end of the class name.
    ublic partial class Event_TargetObjectType {
    private Event_TargetObjectIDType[] idField;
    public partial class Event_TargetObjectType1 {
    private Event_TargetObjectIDType1[] idField; ...}
    Since the function inside some class is the same, is it possible for WSDL.exe to generate proxy classes automatically that if the class is the same, then generate one class only (sameFunction())  but if it detects the class is different, then add '1'
    to the end of class name (differentFunction() and differentFunction1())
    i.e.
    public class sameFunction()
    public class differentFunction()
    private int a;}
    public class differentFunction1()
    { private int b;
    Best Regards
    mintssoul

    Hi  mintssoul,
      As per this case, I have shared corresponding details below :
    1.As far as I know, WCF doesn’t support method overloading directly
    2.Because WSDL doesn’t support method overloading (not OOPs).
    3.WCF generates WSDL which specifies the location of the service and the operation or methods the service exposes.
    4.WCF use Document/Literal WSDL Style : Microsoft proposed this standard where the soap body element will contain the web method name.
    5.By default all the WCF services conform to the document literal standard where the soap body should include the method name.
    6.but you can differ the method in the same manually by using Name attribute like below 
    For example:
        [OperationContract(Name="Integers")]
        int Display(int a,int b)
        [OperationContract(Name="Doubles")]
    double Display(double a,double b)
    7. Or I suggest you that can use svcutil to map multiple namespaces for generating wcf service proxies .
        for more information about this, refer here :
    http://stackoverflow.com/questions/1103686/use-svcutil-to-map-multiple-namespaces-for-generating-wcf-service-proxies

  • Web service handler could not registered/called in client web service

    Hi Expert,
    I have two web service ServiceA & ServiceB and both implemented in weblogic.
    The ServiceA is SSL enable and protocol is https which is not published by me.
    The ServieB is my web service(wls8.1) and act as client for ServiceA.
    My problem is when i hit my service, its not able set the handler when it call ServiceA but it is invoking the service and giving application exception like authentication error.
    My service file:
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.handler.HandlerInfo;
    import javax.xml.rpc.handler.HandlerRegistry;
    import javax.xml.rpc.handler.soap.SOAPMessageContext;
    import weblogic.webservice.client.SSLAdapterFactory;
    import weblogic.webservice.client.WLSSLAdapter;
    public class HelloService {
    String wsdl = "https://188.122.123.23/RemoetService?WSDL";
    static     {
              SSLAdapterFactory factory =                SSLAdapterFactory.getDefaultFactory();
              WLSSLAdapter adapter = (WLSSLAdapter)     factory.getSSLAdapter();
              adapter.setTrustedCertificatesFile("D:\\lib\\certs\\cacerts");
              factory.setDefaultAdapter(adapter);
              System.setProperty("weblogic.xml.encryption.verbose","true");
              System.setProperty("weblogic.xml.signature.verbose","true");
              System.setProperty("weblogic.webservice.verbose","true");
         public String sayHello(String user) {
              RemoteService_Impl service = new RemoteService_Impl(wsdl);
              RemotePortType port = service.getRemoteServicePort1();
              String namespace = service.getServiceName()
                        .getNamespaceURI();
              QName portName = new QName(namespace,
                        "RemoteServicePortType");
              HandlerRegistry reg = service.getHandlerRegistry();
              List handlerList = new ArrayList();
              Map map = new HashMap();
              map.put("Username", "user1");
              map.put("Password", "pwd1");
              HandlerInfo info = new HandlerInfo();
              info.setHandlerClass(WSClientHandler .class);
              info.setHandlerConfig(map);
              handlerList.add(info);
              reg.setHandlerChain(portName,(List)handlerList);
              RemoteServiceResponse = port.callMe(name);
    My Handler Class:
    package com.test;
    import java.util.Map;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.handler.Handler;
    import javax.xml.rpc.handler.HandlerInfo;
    import javax.xml.rpc.handler.MessageContext;
    import javax.xml.rpc.handler.soap.SOAPMessageContext;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.soap.SOAPHeaderElement;
    public class WSClientHandler implements Handler {
         private HandlerInfo handlerInfo;
         public WSClientAuthenticateHandler(){}
         public void init(HandlerInfo hi) {   
              System.out.println("Handler init");
              handlerInfo = hi;
         public void destroy() {
              System.out.println("Handler destroy method called");
              handlerInfo = null;
         public QName[] getHeaders() {
              System.out.println("Handler Header method called");
              try     {
                   Map map = handlerInfo.getHandlerConfig();
                   QName[] headers = handlerInfo.getHeaders();
                   System.out.println(" Config :"+map);
                   for(int i=0;i<headers.length;i++)     {
                        System.out.println(headers.getLocalPart()+" "+
                        headers[i].toString()+" "+headers[i].getNamespaceURI());
              }catch(Exception e)     {
                   e.printStackTrace();
              return handlerInfo.getHeaders();
         public boolean handleRequest(MessageContext mc) {   
              SOAPMessageContext smc = (SOAPMessageContext) mc;
              System.out.println("Calling handler class.....................");
              try     {
              SOAPEnvelope se =      smc.getMessage().getSOAPPart().getEnvelope();
              System.out.println("Calling handler class.....................");
         SOAPHeader soapHeader = se.getHeader();
         Name headerName = se.createName("Security","wsse","http://schemas.xmlsoap.org/ws/2002/07/secext");
         SOAPHeaderElement headerElement = soapHeader.addHeaderElement(headerName);
         SOAPElement element = headerElement.addChildElement(se.createName("UsernameToken", "wsse", "http://schemas.xmlsoap.org/ws/2002/07/secext"));
         element.addChildElement(se.createName("Username", "wsse","http://schemas.xmlsoap.org/ws/2002/07/secext")).addTextNode("testuser");
         element.addChildElement(se.createName("Password", "wsse","http://schemas.xmlsoap.org/ws/2002/07/secext")).addTextNode("testpwd");
         System.out.println("Calling handler class.....................");
                   System.out.println("** Request: \n "+se.toString()+"\n");
              }catch(SOAPException e)     {
                   e.printStackTrace();
              return true;
         /** * Specifies that the SOAP response message be logged to a
         * log file before the
         * * message is sent back to the client application
         * that invoked the Web service.
         public boolean handleResponse(MessageContext mc) {  
              System.out.println("Handler Response method called");
              SOAPMessageContext messageContext = (SOAPMessageContext) mc;
              System.out.println("** Response: \n"+messageContext.getMessage().toString()+"\n");
              return true;
         /** * Specifies that a message be logged to the log file if a SOAP fault is
         * * thrown by the Handler instance.
         public boolean handleFault(MessageContext mc) {   
              SOAPMessageContext messageContext = (SOAPMessageContext) mc;
              System.out.println("** Fault: \n"+messageContext.getMessage().toString()+"\n");
              return true;
    Please need help here.
    Thanks in Advance,
    pps

    I have tested static client calling using handler simple above service and found the issues.
    QName portName = new QName(namespace,
    *"RemoteServicePortType");*
    The above line code has created the issues,becuase in wsdl file ( given similar wsdl file).
    <?xml version="1.0"; encoding="UTF-8"?>
    <definitions name="HelloService"
    targetNamespace="http://www.ecerami.com/wsdl/HelloService.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://www.ecerami.com/wsdl/HelloService.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <message name="SayHelloRequest">
    <part name="firstName" type="xsd:string"/>
    </message>
    <message name="SayHelloResponse">
    <part name="greeting" type="xsd:string"/>
    </message>
    <portType name="*RemoteServicePortType*">
    <operation name="sayHello">
    <input message="tns:SayHelloRequest"/>
    <output message="tns:SayHelloResponse"/>
    </operation>
    </portType>
    <binding name="Hello_Binding" type="tns:*RemoteServicePortType*">
    <soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="sayHello">
    <soap:operation soapAction="sayHello"/>
    <input>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:examples:helloservice"
    use="encoded"/>
    </input>
    <output>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:examples:helloservice"
    use="encoded"/>
    </output>
    </operation>
    </binding>
    <service name="Hello_Service">
    +<port binding="tns:Hello_Binding" name="*RemoteServicePortType1*">+
    +<soap:address+
    location="http://host1:8080/soap/servlet/rpcrouter"/>
    +</port>+
    +<port binding="tns:Hello_Binding" name="*RemoteServicePortType2*">+
    +<soap:address+
    location="http://host2:8080/soap/servlet/rpcrouter"/>
    +</port>+
    +<port binding="tns:Hello_Binding" name="*RemoteServicePortType3*">+
    +<soap:address+
    location="http://host3:8080/soap/servlet/rpcrouter"/>
    +</port>+
    +<port binding="tns:Hello_Binding" name="*RemoteServicePortType4*">+
    +<soap:address+
    location="http://host4:8080/soap/servlet/rpcrouter"/>
    +</port>+
    </service>
    </definitions>
    From the above WSDL, I have four port name (port binding="tns:Hello_Binding" name="*RemoteServicePortType1*) which is not matching with PortType (portType name="*RemoteServicePortType*")
    even i have iterated from getPorts() method and used to invoke the service.But handler was not calling when i invoke.
    Please guide me here how i specify correct portname which can call Handler class also.
    Thanks in advance,
    pps

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • Could not retrieve System Object  for the alias.

    Hi all,
    I have installed a business package (Maintenance Technician) and created system SAP_PM with aliases SAP_ECC_Manufacturing, and SAP_ECC_Common.  When I am logged into portal using Super Admin role, all the iviews of business package are working fine.  But when I am logged in using normal user, all iviews in the business packages are throwing the following exception.  Any ideas why? I appreciate your input.
    <b>Exception in SAP Application Integrator occured: Cannot retrieve system object for this alias. System Alias: 'SAP_ECC_Manufacturing', System ID: 'pcd:portal_content/com.xyz.fl_systems/com.xyz.SAP_PM'. User: 'abcuser',
    Reason: Access denied (Object(s): portal_content/com.xyz.fl_systems/com.xyz.SAP_PM).</b>
    Thanks
    Vicky R.

    Hi Vicky,
    can u pls share ur experience how did u solve this problem, i too facing the same problem.
    what i did  created one user who is already existed in BI System and created few iviews related to BI Reports.
    when i logged in through that user id in portal , while executing system is throughing the error what u have faced.
    Could u please let me know how did u solve that problem.
    Thanks in Advance
    RamanaRao V

  • 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

  • Error during web service invocation

    Below are the error details I'd received while trying to
    invoke a web service using CFINVOKE.
    Please help me to resolve this.
    Thanks
    Could not generate stub objects for web service invocation.
    java.net.ConnectException: Connection refused: connect It is
    recommended that you use a web browser to retrieve and examine the
    requested WSDL document for correctness. If the requested WSDL
    document can&apos;t be retrieved or it is
    dynamically generated, it is likely that the target web
    service has programming errors.

    Did you configure the web service client (which is bpel) for message level security ? It seems your bpel is sending some ws-security soap headers which the remote service is not able to understand (possibly , the remote server might not have been configured for ws security)

  • Cannot generate stub objects...access denied

    Has anyone come accross this?
    I am attempting to access a coldfusion 9 webservice that I created and am also consuming.  The pair works fine when both requesting page and the webservice are resident on my development server, but generates the following error when in production:
    Error Occurred While Processing Request
    Cannot generate stub objects for web service invocation.
    Name: http://casadiablo.homeip.net/WebServices/SimpleWebService.cfc?wsdl. WSDL: http://casadiablo.homeip.net/WebServices/SimpleWebService.cfc?wsdl. java.security.AccessControlException: access denied ("java.io.FilePermission" "C:/Program Files/Java/jdk1.7.0_04/jre/lib/wsdl.properties" "read") 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 D:/home/casadiablo.net/wwwroot/indexCDNet.cfm: line 10
    Called from "java.io.FilePermission" "C: line -1
    Called from "java.io.FilePermission" "C: line -1
    Called from D:/home/casadiablo.net/wwwroot/indexCDNet.cfm: line 10
    Note: the wsdl renders just fine in a browser at the address I'm using so it's not a can't find it or location issue.  I'm no expert in reading wsdl files, though, so it could render some clues if I knew what to look for.
    For context:
    When I go from my development environment to production, the consuming page is on casadiablo.net/indexCDnet.cfm (hosted by Hostek).  The webservice is on a PC in my home that has a dedicated IP address. 
    I've searched all over for an "access denied" java error (related to CF web services) discussion and have found nothing.  Any ideas as to how to troubleshoot where in this chain a java.io.FilePermission error might be triggered would be greatly appreciated!!
    Message was edited by: CFsolar
    Case solved. It turns out that this is totally a Hostek issue.  After exhausting all other options (including uninstalling and reinstalling java), it was a setting on the security sandbox that caused the error.  Well at least this will be out there for anyone else working with webservices and Hostek!

    Did anyone ever resolve this issue as I seem to be having the exact same issue???

  • 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

  • Building client proxies for web services with SOAP attachemtns

    Hi all.
    I'm currently building a series of web services that take SOAP attachments as
    input, but I am unable to generate the java proxies for testing the services via
    WebLogic Workshop 8.1. When I attempt to build the proxy, I get the following
    error:
    Warning: Failed to generate client proxy from WSDL definition for this service.
    Suggestion: Please verify the <types> section of the WSDL.
    Is there something I need to alter to get this to work, or does workshop not support
    client proxies for web services with DataHandler parameters?
    Thanks.
    -Brian

    Thanks for the help. This is my first web service with SOAP attachments, so it
    may have been a long time till I realized that.
    -Brian
    "Michael Wooten" <[email protected]> wrote:
    >
    Thanks Brian,
    The problem is that you are trying to use the "document" soap-style :-)
    If you change this to "rpc", you'll should be able to successfully generate
    the
    client proxy jar. The soap-style property, is at the bottom of the "protocol"
    property sheet section, for the JWS.
    Regards,
    Mike Wooten
    "Brian McLoughlin" <[email protected]> wrote:
    Sure, sorry about that. Attached is the wsdl for a sample web service
    I created
    just to test the proxy generation.
    "Michael Wooten" <[email protected]> wrote:
    Hi Brian,
    Would it be possible for you to post the WSDL, so we can see what might
    be causing
    the problem?
    Regards,
    Mike Wooten
    "Brian McLoughlin" <[email protected]> wrote:
    Hi all.
    I'm currently building a series of web services that take SOAP attachments
    as
    input, but I am unable to generate the java proxies for testing theservices
    via
    WebLogic Workshop 8.1. When I attempt to build the proxy, I get the
    following
    error:
    Warning: Failed to generate client proxy from WSDL definition for
    this
    service.
    Suggestion: Please verify the <types> section of the WSDL.
    Is there something I need to alter to get this to work, or does workshop
    not support
    client proxies for web services with DataHandler parameters?
    Thanks.
    -Brian

  • Could Not Establish trust relationship for the SSL/TLS secure channel Sharepoint Web services

    I am trying to updateList items into a sharepoint list from the xml document stored in my shared drive in remote server. To make that work i wrote down a Powershell Script that utilizes Sharepoint Webservices Api Updatelistitems function to perform the acitivity.
    I ran the script over in Dev environment it works, Then i went into QA that Works too. At last i am now in PROD and agains ran the script i am now receicing following error:
    New-WebServiceProxy : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel
    All of my servers dev, QA and PROD web apps are encrypted by Https 443 using Cerified root certificate. Powershell script i am running are mirror copy. System accoutn i am using has owner privileages to sharepoint site and its list.
    Am i missing something here, what is blocking this traffic i have no clue.
    Thank You

    are u using self singed certificate?
    also check this http://www.poshpete.com/powershell/new-webserviceproxy-and-ssl
    http://www.brainlitter.com/2012/03/13/sharepoint-2010-and-cert-trust-could-not-establish-trust-relationship-for-the-ssltls-secure-channel/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Reporting services with R2 on DPM2012 - Could not establish trust relationship for the SSL/TLS secure channel

    Hi everyone,
    A somewhat similar question has been asked before by others but none of the answers given has helped me.I am attempting a DPM 2012 installation, which is failing at the "deploying reports" stage.My analysis of logs seems to point me in the direction of an SSL
    error, which does not make sense since the configuration files say SSL is disabled (or at least, should be).
    Here are the symptoms:
    1.I am able to browse http://FQDN/Reports_MSDPM2012 folder from internet explorer
    2.I am also able to browse http://FQDN/ReportServer_MSDPM2012 from internet explorer
    3.The information given in the logs and relevant config files is shown below:
    <<RSREPORTSERVER.CONFIG>>
    <ConnectionType>Default</ConnectionType>
    <LogonUser></LogonUser>
    <LogonDomain></LogonDomain>
    <LogonCred></LogonCred>
    <InstanceId>MSRS10_50.MSDPM2012</InstanceId>
    <InstallationID>{d9b1c335-5842-4a81-9148-79184c38bf09}</InstallationID>
    <Add Key="SecureConnectionLevel" Value="0"/>
    <Add Key="CleanupCycleMinutes" Value="10"/>
    <Add Key="MaxActiveReqForOneUser" Value="20"/>
    <Add Key="DatabaseQueryTimeout" Value="120"/>
    <Add Key="RunningRequestsScavengerCycle" Value="60"/>
    <Add Key="RunningRequestsDbCycle" Value="60"/>
    <Add Key="RunningRequestsAge" Value="30"/>
    <Add Key="MaxScheduleWait" Value="5"/>
    <Add Key="DisplayErrorLink" Value="true"/>
    <Add Key="WebServiceUseFileShareStorage" Value="false"/>
    <!--  <Add Key="ProcessTimeout" Value="150" /> -->
    <!--  <Add Key="ProcessTimeoutGcExtension" Value="30" /> -->
    <!--  <Add Key="WatsonFlags" Value="0x0430" /> full dump-->
    <!--  <Add Key="WatsonFlags" Value="0x0428" /> minidump -->
    <!--  <Add Key="WatsonFlags" Value="0x0002" /> no dump-->
    <Add Key="WatsonFlags" Value="0x0428"/>
    <Add Key="WatsonDumpOnExceptions" 
    4.The DPM log file still appears to be using SSL even though i used reporting services configuration to remove SSL bindings:
    running.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception ---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ReportDeploymentException:
    exception ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The underlying connection was closed: Could
    not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException:
    The remote certificate is invalid according to the validation procedure.
       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest,
    Exception exception)
    5:I do have an SCCM site on the default web site used by SMS clients but on different ports
    I am stumped.Somebody please give some advice
    Thank you

    Hi
    This is an old post but did you come right?

Maybe you are looking for

  • IPOD not recognized on PC

    Here is the diagnostics report: Microsoft Windows 7 x64 Ultimate Edition (Build 7600) System manufacturer System Product Name iTunes 10.4.0.80 QuickTime 7.6.9 FairPlay 1.12.20 Apple Application Support 1.5.2 iPod Updater Library 10.0d2 CD Driver 2.2.

  • How do i find WEP key for wrt54g

    Hi, my husband set up our system and i am trying to add a new wireless printer. He is out of the country for business, hence my problem. How do i find what the WEP key/ network key is? Thank you for your help.

  • My iPhone says 'your iPhone could not be activated...'

    I previosly had some issues with my iphone because i got it second hand from my auntie in america and when i restored it, it got locked to my mum took it to get unlocked and im pretty sure they did it unoficialy. So a few days ago i tried to upgrade

  • Adobe Reader Freeze Problem!!!

    Why does a pdf document freeze everytime I open a it with adobe reader?

  • There's a little cartoon and chinese characters in my status bar that I didn't not put there and can't delete

    I recently had my account smurfed,I think it's called-my email was attacked-sent a bunch of emails to friends as if from me---I changed password,etc-no other problems since-but I realized this morning that there's something in my status bar with chin