Coldfusion webservice wsdl tag order

Hi
I've created a web service that interogates a database and
spits out an xml document. It has a number of input parameters and
just one output value (the xml document).
When I test this using coldfusion everything works fine.
However when my client tries to invoke the web service it says that
the return value doesn't exist.
I've looked at the wsdl files generated by coldfusion and
there does seem to be a difference in the order of the message tags
produced that I think must be causing the error.
In one webservice he can view the order is: request,
exception, response
In the one that he can't access properly the order is:
response, exception, request.
Does anyone else know how to resolve this issue? Or am I
looking in the wrong place?

To change the order is necesary use PI module

Similar Messages

  • Error in BI Publisher webservice wsdl

    Hello All,
    I am using BI Publisher Enterprise 10.1.3.3.0 Standalone.
    I am trying to access the Webservice wsdl through the link
    http://servername:port/xmlpserver/services/ReportService?wsdl
    But i get the following error
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Fault - ; nested exception is:
         oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix xmlns
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix xmlns
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:INDL223BC
    Any pointers on this please ?
    Thanks in advance
    Sulakshana

    Hi,I find the same eror for you.I want to know if you are installing using the Advanced installation type,please make the Oracle Application Server Installation
    Writable:If you are installing using the Advanced installation type, make the user or user group permissions ;writable for the user installing Oracle Business Intelligence, for all Oracle Application Server ;installation directories, subdirectories, and files.Use one of the following procedures, depending on your deployment.

  • Problem when invoke the  Webservice WSDL

    Hi ,
    Use case :
    I have two applications (Webservices) A and B.They have their own WSDL urls.
    From A ---> request format at A ---->Transform that into B request format----->forward that(request) to B request --- > get B response -----> tranfrom that into A response format ----> A response
    First part of usecase:
    I need to send the request from A to B.But both A and B has different request and response schemas(they will have similar kind of fileds but their naming convention will be different.That is why transformation is required in jdeveloper)
    I have developed a composite which has one BPEL process as component.
    I am placing the A webservice as "exposed Service" swimlane and B webservice in 'external reference'.BPEL process is in component swimlane.
    I deployed that Composite which has above BPEL Process(Takes input from one wsdl url and transforms that request format to (another) webservice request format as explained above) which tries to invoke(send request to) the another webservice Wsdl.
    When I test that composite (That WSDL url),I am getting service invokation exception.
    Please see the below exception:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231) at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75) at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64) at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134) at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90) at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273) at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:94) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794) ... 85 more Caused by: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.processHttpResponseCode(HttpSOAPConnection.java:633) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:501) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PrivilegedPost.run(HttpSOAPConnection.java:1261) at java.security.AccessController.doPrivileged(Native Method) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:229) ... 92 more
    I am getting "Webservice invokation failed" message and above exception.
    I am using some proxy server to access internet in my company. It is telling(If u see above exception u will be able to see) the below info in some part of exception.
    javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at
    Is there any problem with authentication to that wsdl url?
    I think u can understand my problem by looking at above clearly explained content.
    Hope u guys will help me out in this issue?
    Thanks in advance.
    Hope I will receive response as soon as possible as it is very critical at this point.
    Thanks

    Hi,
    Some part is requiring authentication, either the proxy or the web service provider. First thing is to determine which of them.
    Are you able to call B via SOAP-UI? Are you passing authentication in SOAP-UI? If not the problem is in you proxy server.
    Check 401 error here:
    http://www.checkupdown.com/status/E401.html
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this answer is helpful, please consider giving points.

  • Coldfusion webservice?

    I have two webservices with the same code but with different names
    <cffunction name="getUserNameFormField" access="remote" output="false" returntype="string" displayname="getUserNameFormField">
    <cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
    <cfreturn return>
    </cffunction>
    <cffunction name="getUserNameFormFieldn" access="remote" output="false" returntype="string" displayname="getUserNameFormFieldn">
    <cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
    <cfreturn return>
    </cffunction>
    But when I invoke the first one return a check box.
    For the second service displays an error as such? Can any one explain me a reason behind it?
    Her is the invocation code and the error
    <html>
    <body><cfcomponent>
    <cfinvoke 
    webservice="http://localhost:8080/CTiWebServicesAPI/console/library/BaseConsole.cfc?wsdl"
    method="getUserNameFormFieldn"  
    returnvariable="saleshistory">
    <!--- <cfinvokeargument name="requestedEvent" value="recipientForm"/>--->
    </cfinvoke>
    <cfoutput>  
    #saleshistory#</cfoutput></cfcomponent>
    </body>
    </html>
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    Web service operation getUserNameFormFieldn with parameters {} cannot be found.
    The error occurred in C:\ColdFusion8\wwwroot\selfprojects\webservice3.cfm: line 6
    4 : <cfinvoke webservice="http://172.16.172.41:8080/CTiWebServicesAPI/console/library/BaseConsole.cfc?wsdl"
    5 :            method="getUserNameFormFieldn"
    6 :              returnvariable="saleshistory">
    7 :           <!---     <cfinvokeargument name="requestedEvent" value="recipientForm"/>--->
    8 : </cfinvoke>
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    09-Apr-09 04:05 PM
    Stack Trace (click to expand)
    at cfwebservice32ecfm989209474.runPage(C:\ColdFusion8\wwwroot\selfprojects\webservice3.cfm:6 )
    coldfusion.xml.rpc.ServiceProxy$ServiceMethodNotFoundException: Web service operation getUserNameFormFieldn with parameters {} cannot be found.
         at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:147)
         at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222)
         at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:417)
         at cfwebservice32ecfm989209474.runPage(C:\ColdFusion8\wwwroot\selfprojects\webservice3.cfm:6)
         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
         at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
         at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
         at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
         at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
         at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
         at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
         at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
         at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
         at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
         at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
         at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
         at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
         at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
         at coldfusion.CfmServlet.service(CfmServlet.java:175)
         at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
         at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
         at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
         at jrun.servlet.FilterChain.service(FilterChain.java:101)
         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
         at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
         at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
         at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
         at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
         at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
         at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    There are two methods, but it is one web service, not two. The code you should have saved as the file BaseConsole.cfc is
    <cfcomponent>
    </cfcomponent>
    There is no need for HTML or component tags in the caller. The calling page, say, wsCaller.cfm, should be something like
    <cfinvoke
    webservice= "http://localhost:8080/CTiWebServicesAPI/console/library/BaseConsole.cfc?wsdl"
    method="getUserNameFormFieldn"
    returnvariable="saleshistory">
    </cfinvoke>
    <cfoutput>#saleshistory#</cfoutput>
    <cffunction name="getUserNameFormField" access="remote" output="false" returntype="string" displayname="getUserNameFormField">
    <cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
    <cfreturn return>
    </cffunction>
    <cffunction name="getUserNameFormFieldn" access="remote" output="false" returntype="string" displayname="getUserNameFormFieldn">
    <cfset var return = '<input name="userName" type="text" size="40" maxlength="40">'>
    <cfreturn return>
    </cffunction>

  • Webservice for Sales orders

    Hey guys
    i m trying to post some Sales order Idoc's to CRM system from a SOAP client but i dont know which webservice to use.
    do you guys know any webservice which i can use to post IDoc's to CRM and then send the response back to the webservice.
    i m actually trying to implement a SOAP to IDoc scenario with acknowledgement sent bak to SOAP.
    thanx
    ahmad

    Ahmad,
    When the user Clicks on Submit to Purchahse his items, a Webservice call needs to be made to XI  which will forward the same to the Idoc. Correct?
    Now, in your Webapplication, you would need to use the WSDL you have generated for the outbound message interface in XI to load the correct input data and trigger it to XI. I am not a Web App Guy , but , somneone who know this can surely help!
    So, with respect to XI, what would matter is You are creating a WSDL in XI and this WSDL will be used by your Shopping Cart to populate the data and initiate the call to XI.!
    Also, as you are dealing with A Shopping cart, a better solution would be to use either proxies or RFC's instead of an Idoc. Reason is that RFC and Procxies support synch processing and Idoc's do not support synch processing. So, if you are going to use Idoc's then you would need a BPM and so,also look at the possiblities of replacing the Idoc with an RFC or a Proxy!
    Regards
    Bhavesh

  • ColdFusion caching WSDL credentials

    We are running ColdFusion 9 (version 9.0.1.274733) on Windows 2003 with IIS 6.  The server is shared across a few different groups within our organization each with more than one active development project currently underway. 3 of the projects are attempting to consume a .Net webservice hosted on another server.  The webservice is using basic authentication to identifiy who is accessing the service.  Our problem is that when ColdFusion accesses the service the first time it caches the WSDL proxy/stubs along with the username and password.  This presents a problem when the next application attempts to access the service.  The second attempt can access the service but since ColdFusion is using the credentials ofthe first application the second application gets permission problems from the application behind the service.  Example is application A hits the service with username A this is followed by application B with username B but IIS sees username A, application C does the same thing, IIS sees the access attempt with username A.  If we clear the WSDL from the admin or use the refreshWSDL attribute it works one time, with subsequent access attempts using the first set of credentials.  Forcing each application to always use the refreshWSDL attribute kind of defeats the purpose of caching.
    So my question is this:
    Is there any way to get ColdFusion to NOT cache the username/password information when it creates the stubs?

    Have you tried creating multiple named instances of the webservice via the cf administrator? I haven't tried it but it looks like you should be able to assign a different username/password to each instance.  Then in your code just instantiate it by the name rather than the wsdl url, eg.
    <cfset svc = createobject("webservice", "mywebsvc_appA") />

  • Flex calling ColdFusion WebService

    We have a Flex application hitting ColdFusion web service and
    it works great.
    Now we need to employ security concerns before putting it in
    production so that only authorized users can interact with the web
    service. Do we have to pass credentials every time? Maybe this is
    more of a ColdFusion and web services question but considering Flex
    is so different I thought I would give this a try. Thanks.

    This is what i have
    public function getvalue(getvalueResultHandler:Function, getvalueFaultHandler:Function):void {
    // frame webservice request and invoke the service
    // create webservice object
    var service:WebService = new WebService();
    service.wsdl = URL + Common.WSDL_STRING;
    service.loadWSDL();
    var oper:Operation = service.getOperation(Common.operatn) as Operation;
    oper.resultFormat= Common.operationResultFormat;
    oper.addEventListener(ResultEvent.RESULT, getvalueResultHandler);
    oper.addEventListener(FaultEvent.FAULT, getvalueFaultHandler);
    // frame webservice request XML
    var xmlRequest:XML =
    <RetrievevalueRequest>
    <ClientID>{_helixGlobal.id}</ClientID>
    <WsdlVersion>{Common.wsdlVersion_2_0}</WsdlVersion>
    <ServiceType>{Common.serviceType}</ServiceType>
    <ApplicationID>{Common.applicationId}</ApplicationID>
    <RetrievevalueRequestItem>
    <ID>{_helixGlobal.inputparam}</ID>
    </RetrievevalueRequestItem>
    </RetrieveCvalueRequest>;
    oper.request = xmlRequest;
    service.endpointURI = Common.valueURL;
    oper.send();

  • Coldfusion 9 CFFTP Tag

    Hi, hope somebody can help!
    I'm running an evaluation on the new Coldfusion 9 and  trying to use the <CFFTP> tag to connect to a remote SFTP server. The server version is:-
    SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
    My Code is:-
    <cfftp action = "open"
    username = "myusername"
    connection = "MyConnection"
    password = "mypassword"
    server = "myserver.com"
    secure = "yes">
    <p>Successful: <cfoutput>#cfftp.succeeded#</cfoutput>
    <cfdump var ="#MyConnection#" label="connection">
    This is what is returned:-
    An error occurred while establishing an sFTP connection.
    Verify your connection attributes: username, password, server, fingerprint, port, key, connection, proxyServer, and secure (as applicable). Error: Session.connect: java.io.IOException: invalid data.
    The error occurred in /Applications/ColdFusion9/wwwroot/test/sftp.cfm: line 12
    10 :
    11 : server = "10.1.3.43"
    12 : secure = "yes">
    13 :
    14 : <p>Successful: <cfoutput>#cfftp.succeeded#</cfoutput>
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Safari/412.0
    Remote Address 
    0:0:0:0:0:0:0:1%0
    Referrer 
    Date/Time 
    13-Oct-09 11:32 PM
    Stack Trace
    at cfsftp2ecfm1948882534.runPage(/Applications/ColdFusion9/wwwroot/test/sftp.cfm:12) at cfsftp2ecfm1948882534.runPage(/Applications/ColdFusion9/wwwroot/test/sftp.cfm:12)
    com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: invalid data
         at com.jcraft.jsch.Session.connect(Unknown Source)
         at com.jcraft.jsch.Session.connect(Unknown Source)
         at coldfusion.tagext.net.SftpHandler.getConnection(SftpHandler.java:265)
         at coldfusion.tagext.net.SftpHandler.createConnection(SftpHandler.java:76)
         at coldfusion.tagext.net.FtpTag.doStartTag(FtpTag.java:675)
         at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
         at cfsftp2ecfm1948882534.runPage(/Applications/ColdFusion9/wwwroot/test/sftp.cfm:12)
         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
         at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
         at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
         at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363)
         at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
         at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
         at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
         at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
         at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
         at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
         at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
         at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
         at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
         at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
         at coldfusion.CfmServlet.service(CfmServlet.java:200)
         at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
         at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
         at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
         at jrun.servlet.FilterChain.service(FilterChain.java:101)
         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
         at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
         at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
         at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
         at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
         at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
         at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    I've tried running this from both a Mac and Windows platform.
    Incidentally, I also took the example from the Adobe Coldfusion 9 live docs and got the same error.
    If I can't get this to work then it's a show stopper for the use of CF within our environment.
    Best Regards,
    Carl Bourne
    Message was edited by: CarlB  Just tried using the above to connect to a SSH (SSH-2.0-OpenSSH_5.2) server running on MAC OSX. I got the same error.

    That did not fix my problem specifically, but it is related, and it gave me enough insight to find a work-around without changing jar files.
    It seems that ColdFusion loads "com.rsa.jsafe.provider.JsafeJCE" as the default security provider at startup. Perhaps there is something wrong with this provider like the “BC” provider mentioned in your link. Working with that, I was able to dump my providers into an array where the first array position represents the default provider and shows JsafeJCE as the default:
    <cfset providerMethods = CreateObject('java','java.security.Security')>
    You can dump the providers:
    <cfdump var="#providerMethods.getProviders()#">
    I then made a copy of the provider like:
    <cfset jSafeProvider = providerMethods.getProvider('JsafeJCE')>
    I then removed it from the provider array:
    <cfset providerMethods.removeProvider('JsafeJCE')>
    I then made my sFTP call and this time it was successful.
    <cfftp action="open"
                secure="true”…
    I then put the provider back into the array in position 1 – the default:
    <cfset providerMethods.insertProviderAt(jSafeProvider,1)>
    I can’t say I know exactly what’s wrong and I certainly don’t want to remove the JsafeJCE provider from the default position for forever. I’ll let Adobe come up with a true fix, but for now, this provides me with a work-around so I can use sFTP. I’m sure JsageJCE is used/required for some other encryption, so you’ll have to watch for other issues while it’s not part of the provider array. The quicker you can get it out/in, probably the better. My sFTP only runs a few times, so I feel OK with the possible side effects. Maybe someone can take it from here and find a better solution and not a simple work-around.

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • How  to get soap request in webservices (WSDL in java)

    hi ,,
    i did one helloworld app using soap protocol. In that , one soap client invokes the webservices(old java class with WSDL ).Now i want to get the soap document in the web service for to process the soap envelope and parsing and generating the o/p and append to the response then create the soap document for response. plz let me know how to do?
    Thanks in advance.

    Let me see whether I understand. Are you attempting to achieve something like this:
    test.cfc
    <cfcomponent output="no">
    <cffunction name="testFunction" returntype="any" access="remote">
    <cfargument name="soapInput">
    <cfset var inputXML = arguments.soapInput>
    <cfset var soapBodyText="">
    <cfset var noBodyTextError="">
    <cftry>
        <cfset soapBodyText = xmlSearch(inputXML,"//soapenv:Body/text()")[1].xmlValue>
        <cfsavecontent variable="noBodyTextError"><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope     xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.Exception: Body not found.</faultstring></cfsavecontent>
        <cfif trim(soapBodyText) is "">
        <cfthrow>
        </cfif>
        <cfreturn inputXML>
    <cfcatch type="any">
    <cfreturn noBodyTextError>
    </cfcatch>
    </cftry>
    </cffunction>
    </cfcomponent>
    tester.cfm
    <cfxml variable="mydata">
            <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wor="https://www.worldmilesafrica.com">
       <soapenv:Header/>
       <soapenv:Body>
       </soapenv:Body>
    </soapenv:Envelope>
    </cfxml>
    <cfinvoke webservice = "http://127.0.0.1:8500/workspace/wsTest/test.cfc?wsdl"
              method = "testFunction"
               returnVariable = "result">
           <cfinvokeargument name="soapInput" value="#trim(mydata)#" >
    </cfinvoke>
    <cfdump var="#result#">

  • Have a requirement to consume a  SOAP webservice (wsdl file) using apex

    Hi,
    I am using Application Express 4.2.2.00.11.
    My requirement is to consume a soap web service (wsdl file).
    I am pasting the wsdl fille.
    <wsdl:message name="FulfillOrderResponseRequestMessage">
    <wsdl:part name="payload" element="ffebm:ProcessFulfillmentOrderNotificationEBM"/>
    </wsdl:message>
    <wsdl:message name="FulfillOrderResponseResponseMessage">
    <wsdl:part name="payload" element="ffebm:ProcessFulfillmentOrderNotificationResponseEBM"/>
    </wsdl:message>
    <wsdl:portType name="FulfillOrderResponse">
    <wsdl:operation name="process">
    <wsdl:input message="client:FulfillOrderResponseRequestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="FulfillOrderResponseCallback">
    <wsdl:operation name="processResponse">
    <wsdl:input message="client:FulfillOrderResponseResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="FulfillOrderResponseBinding" type="client:FulfillOrderResponse">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsp:PolicyReference URI="#wss11_saml_or_username_token_with_message_protection_service_policy" wsdl:required="false"/>
    <wsp:PolicyReference URI="#wsaddr_policy" wsdl:required="false"/><wsdl:operation name="process">
    and the xml file looks like this
    <FulfillOrderResponseRequestMessage>
    <part  name="payload">
    <coreforderrocessFulfillmentOrderNotificationEBM>
    <corecom:EBMHeader>
    <corecom:EBMID>2d383135353332303931343330383630</corecom:EBMID>
    <corecom:EBMName>{_http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1}ProcessFulfillmentOrderNotificationEBM</corecom:EBMName>
    <corecom:EBOName>{_http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1}ProcessFulfillmentOrderNotificationEBO</corecom:EBOName>
    <corecom:CreationDateTime>2013-12-27T13:29:04.530+05:30</corecom:CreationDateTime>
    <corecom:VerbCode>Update</corecom:VerbCode>
    <corecom:MessageProcessingInstruction>
    <corecom:EnvironmentCode>PRODUCTION</corecom:EnvironmentCode>
    </corecom:MessageProcessingInstruction>
    <corecomender>
    <corecom:ID  schemeAgencyID="GPR">EBSVIS</corecom:ID>
    <corecomenderMessageID/>
    <corecom:CallingServiceName>{_http://xmlns.oracle.com/ApplicationBusinessFlow/OrderToCash/ProcessFulfillmentOrderNotificationEbizToFusionDOOABF/V1}ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</corecom:CallingServiceName>
    <corecom:WSAddress>
    <ns1:ReplyTo>
    <ns1:Address/>
    <ns1ortType>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1ortType>
    <ns1erviceName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1erviceName>
    </ns1:ReplyTo>
    <ns1:FaultTo>
    <ns1:Address/>
    <ns1ortType>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1ortType>
    <ns1erviceName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1erviceName>
    </ns1:FaultTo>
    </corecom:WSAddress>
    </corecomender>
    <corecom:Target>
    <corecom:ID  schemeAgencyID="GPR">GPR</corecom:ID>
    </corecom:Target>
    <corecom:BusinessScope/>
    <corecom:EBMTracking>
    <corecomequenceNumber>1</corecomequenceNumber>
    <corecom:ExecutionUnitName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</corecom:ExecutionUnitName>
    <corecom:ImplementationCode>BPEL</corecom:ImplementationCode>
    <corecom:ActivityDateTime>2013-12-27T13:29:04.531+05:30</corecom:ActivityDateTime>
    </corecom:EBMTracking>
    <xacml-context:Request/>
    </corecom:EBMHeader>
    <coreforderataArea>
    <corecomrocess  operation="ProcessFulfillmentOrderNotification"/>
    <coreforderrocessFulfillmentOrderNotification>
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ID  schemeID="ORDER_NUMBER"  schemeAgencyID="EBSVIS">66498</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="HEADER_ID"  schemeAgencyID="EBSVIS">228338</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000030196926</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">228338</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforder:CurrencyCode  listAgencyID="EBSVIS">USD</coreforder:CurrencyCode>
    <coreforder:TypeCode  listAgencyID="GPR">ORDER</coreforder:TypeCode>
    <corecom:BusinessUnitReference>
    <corecom:BusinessUnitIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="ORG_ID"  schemeAgencyID="EBSVIS">204</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000028235904</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:BusinessUnitIdentification>
    </corecom:BusinessUnitReference>
    <coreforder:FulfillmentOrderLine  actionCode="UPDATE">
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ID  schemeID="LINE_NUMBER"  schemeAgencyID="EBSVIS">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="LINE_ID"  schemeAgencyID="EBSVIS">419300</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000030196928</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">419300</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforderrderQuantity>2</coreforderrderQuantity>
    <coreforder:CurrencyCode  listAgencyID="EBSVIS">USD</coreforder:CurrencyCode>
    <corecomtatus>
    <corecom:Code  listAgencyID="GPR">AWAIT_SHIP</corecom:Code>
    </corecomtatus>
    <corecom:ItemReference>
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS">225</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:ItemIdentification>
    <corecom:TypeCode  listAgencyID="GPR">4</corecom:TypeCode>
    </corecom:ItemReference>
    <coreforder:FulfillmentOrderSchedule  actionCode="UPDATE">
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="LINE_ID"  schemeAgencyID="EBSVIS">419300</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="FulfillLineId"  schemeAgencyID="GPR">300000030196928</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">419300</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforder:FreightTermCode  listAgencyID="EBSVIS">Paid</coreforder:FreightTermCode>
    <coreforderrderQuantity>2</coreforderrderQuantity>
    <coreforderromisedShipDateTime>2013-12-27T19:30:00.000+00:00</coreforderromisedShipDateTime>
    <corefordercheduledShipDateTime>2013-12-27T19:30:00.000+00:00</corefordercheduledShipDateTime>
    <corecomtatus>
    <corecom:Code  listAgencyID="GPR">AWAIT_SHIP</corecom:Code>
    </corecomtatus>
    <corecom:UnitListPrice>
    <corecom:Amount>100</corecom:Amount>
    </corecom:UnitListPrice>
    <corecom:UnitSalePrice>
    <corecom:Amount>100</corecom:Amount>
    </corecom:UnitSalePrice>
    <corecom:CarrierPartyReference>
    <corecomartyIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS"/>
    </corecom:ApplicationObjectKey>
    </corecomartyIdentification>
    </corecom:CarrierPartyReference>
    <coreforder:FulfillmentOrderScheduleTax>
    <corecom:Tax>
    <corecom:Amount>0</corecom:Amount>
    </corecom:Tax>
    </coreforder:FulfillmentOrderScheduleTax>
    <coreforder:FulfillmentOrderItem>
    <corecom:ItemReference>
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS">225</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:ItemIdentification>
    <corecom:TypeCode  listAgencyID="GPR">4</corecom:TypeCode>
    </corecom:ItemReference>
    </coreforder:FulfillmentOrderItem>
    </coreforder:FulfillmentOrderSchedule>
    </coreforder:FulfillmentOrderLine>
    </coreforderrocessFulfillmentOrderNotification>
    </coreforderataArea>
    </coreforderrocessFulfillmentOrderNotificationEBM>
    </part>
    </FulfillOrderResponseRequestMessage>
    I need to pass few of the above parameters from database using apex.
    Any help will be very thankfull.
    Please if anything more is required to be provided from my side
    Thanks
    Nilesh

    I nee to pass values to few of the above parameters.
    Please inform if anything more is required from my end.

  • Regarding Webservice WSDL file

    Hello experts,
    Please help me by clarifying the below mentioned issue.
    I have cretaed a interactive form and placed one button on the form to submit the form data to the webservice.
    Now, in the properties of the button(Execute Type) i got the new dataconnection name by choosing the path EDIT-->New Data Connection
    and by uploading the WSDL file which was saved on my desktop.
    Now, it is working fine and iam able to do the bindings to webservice importing fields.
    But the problem is if i remove the WSDL file from the location where it was while creating new data connection in the form.
    The interfacing parameters of webservice in the DATA VIEW of the form are going OFF and if i reopen the form it is saying that "the file XXXXXXXXXXXXXXXX not exist".
    I tried with giving http URL in creating New data connection, but it is not accepting that URL and saying that "the URL : YYYYYYYYYYYYYYYYYYYYYYYY is invalid"
    Iam just following the standard procedure for taking the WSDL file or http UTL.
    Am i need to do any thing extra in taking WSDL file or URL?
    Regards,
    Ram

    No you are doing it right ....if you enter the url for the wsdl in a browser to you get the wsdl showing up? Are there any dialogs that pop up?
    Paul

  • Need to call webservice WSDL directly from Java code

    Hi All,
    I hope u all are doing great.
    I am new to web services and i have a requirement where i need to call the webservice directly from the java code, we dont need any middle layer(via proxy n all).
    Can you all please help me on this, we are using Jdeveloper 11g and we do have WSDLs
    we shld be able to use the wsdl in code and pass the request and get the request
    Any help will be appreciated
    Thanks

    @Puthanampatti     
    Thanks, but i already went through this link and seems this link also says we need to access webserivice through stub,dii etc.
    I want straught java code to access webservice without any tier in between
    Thanks

  • When change a WebService WSDL, Java WD crash

    Hi,
    I'm facing a problem that I can not fully comprehend. I'm going to explain it hoping for some answers...
    I have a WDynpro that call a custom SAP WebService. It works. perfectly.
    I change the SAP WebService adding a response field to the existing ones.
    I call the WDynpro again and it does not works anymore. I recevie a message like this
    "Probably runtime WSDL and design-time WSDL are inconsistent".
    Solution found is the foillowing. I change the webdynpro simply reimporting the WS model.
    Question is the following: If I add a field in the response of a WebService I need to reimport the model in ALL the Web Dynpros
    that use that service ? It sound very strange to me. That means that every change on a WebService correspond to a lot of changes to the DC's using that WebService.
    Please explain me....
    Thanks a lot.

    Hi,
    A WSDL represents the "Structure" of the Web Service that you are calling. That means, it defines the signature of the methods, which is the Input, output and exception parameters for each one of them.
    The WSDL is used for creation of the Web Service Model.
    Hence, whenever there is a change in the method signature of the Web Service, the WSDL is also modified, and thus the model.
    So it is true that, whenever you are modifying the request, response or the exception of the Web Service, you will need to re-import the Web Service Model. If this Web Service is used as model many DCs or Projects, then yes, it will be required to be re-imported.
    While technical  / programmatic changes in the method code does not require re-import.
    Regards,
    Alka.

  • WEBService WSDL downloading....

    I've been slowly building up my web serivce and Flex UI. Over
    time i noted that sometimes it takes a while for the WebService
    object to finish loading. My UI blocks until the webservice has
    finished loading, since everything the user intends to do will call
    the WebService.
    My current problem is that the WebService object downloads
    the WSDL each time it connects to the newly started service.
    Subsequent connects to the webservice are faster, but i can see
    (through Fiddler) requests going to download the WSDL and it's
    parts. I assume the subsequent connects are faster because the WSDL
    is cached due to the browser file caching configuration.
    So in the end the first time my user connects to the
    webservice (after a fresh start of the webservice), it will take a
    little while to download and process the WSDL. Then after that it
    will be faster. We'd like to avoid long waits (not "long", talking
    seconds here) for the user, we want the UI to be fast.
    What i don't understand is that i've coded everything in my
    Flex App to communicate with the webservice, so why does the
    WebService object require itself to download a WSDL that i've
    already build the web app for? It seems redundant to me, because
    i've already tested that all my webservice calls will work with the
    webservice in question.
    Is there a way to avoid this? Maybe take the WSDL that i
    build my web app for and include it with the application and have
    the user load it locally; thus, avoiding the download of the WSDL.
    Any help here would be very appreciated.

    bumpy

Maybe you are looking for