Error WSDLParser calling a web service

Hello
I have a flex application that loads the data using several web services. With one of these services I encounter the following error:

TypeError: Error #1009: Impossibile access has a property o a UN metodo di UN oggetto null re.
to mx.rpc.soap::WSDLParser/ http://www.adobe.com/2006/flex/mx/internal::parseMessage()
to mx.rpc.soap::WSDLOperation/parseMessages()
to mx.rpc.soap::Operation/ http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
to mx.rpc.soap::Operation/send()
function / http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc.soap.mxml::Operation/send()
hand /: onPreventivoConfirm()
hand / __sectionAreaPersonale_confermaPreventivo)
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
to AreaPersonale /: doConfermaPreventivo()
to AreaPersonale / __buttonConferma_click)

The service is declared as:

< mx:WebService
ID = "richiestaNoleggioService".
Service = "CarRentalProcessExport1_CarRentalProcessHttpService."
port = "CarRentalProcessExport1_CarRentalProcessHttpPort".
WSDL = '[...] "/ wsdl/CarRentalProcessExport1_CarRentalProcessHttp_Service.wsdl.
useProxy = "false".
showBusyCursor = "true".
Concurrency "multiple" = >
< mx:operation
name = "richiestaNoleggio".
result = "richiestaNoleggioResult ()" "
Fault = "richiestaNoleggioFault ()" >
< mx:request >
< idNoleggio > < / idNoleggio >
< / mx:request >
< / mx:operation >
< / mx:WebService >

It is the WSDL for the service:

< wsdl:definitions
name = "CarRentalProcessExport1_CarRentalProcessHttp_Service".
targetNamespace =" http://CarRental/CarRentalProcessInterface/Binding" > "
< location = "" CarRentalProcess.wsdl wsdl: import ""
namespace =" http://CarRental/CarRentalProcessInterface" / > "
< name of binding wsdl: Binding = "CarRentalProcessExport1_CarRentalProcessHttpBinding."
Type = "Port_0:CarRentalProcess" >
< style: = 'document soap binding '.
transport =" http://schemas.xmlsoap.org/soap/http" / > "
< name of wsdl: Operation = "richiestaNoleggio" >
< soap: operation / >
< name of wsdl: Input = "richiestaNoleggioRequest" >
< use of soap: body = "literal" / >
< / wsdl: Input >
< / wsdl: Operation >
< / wsdl: Binding >
< wsdl:service name = "CarRentalProcessExport1_CarRentalProcessHttpService" >
< wsdl: port
Binding = "' this: CarRentalProcessExport1_CarRentalProcessHttpBinding" "
name = "CarRentalProcessExport1_CarRentalProcessHttpPort" >
< address soap:
location =" http://wxp002:9080 / CarRentalWeb/sca/CarRentalProcessExport1" / > "
< / wsdl: port >
< / wsdl:service >
< / wsdl:definitions >

Call is made like this:

richiestaNoleggioService.richiestaNoleggio.send (event.idNoleggio);

Note that I'm able to correctly call this service with other guests, for example using soapUI.

Thank you for attention
Cosma Colanicchia

Thanks batmitra... anyway, I just solved this problem. There were many things to correct, in order to make it work:

(1) the call syntax, for this style of web service, must be
var params: Object = new Object;
params.idNoleggio = (value);
richiestaNoleggioService.richiestaNoleggio.send (params);

(2) the WSDL for the web service must declare out of service... This should be strictly required (in fact, this function does not return anything) but flex needs it to be explicitly set.

Cosma

Tags: Flex

Similar Questions

  • Error when creating a Web Service reference. ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools.  The URL of the WSDL that I use is:

    http://www.w3schools.com/webservices/TempConvert.asmx?WSDL

    The 1st thing I try in APEX is to create a Web Service based on the above URL reference.  Problem is that I get the following error:

    ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    Any ideas?

    I even tried with some other URL WSDL and always the same exact error.

    Thanks in advance.

    Hello

    Maybe your database server have firewall that blocks to internet connection?

    Kind regards
    Jari

  • Call to Web Service of Oracle PL/SQL not to call the Web service in SOA Server

    Hello

    Try to call the Web service to oralce pl/sql function

    created a function

    Unable to invoke the web service from the server of the SOA.

    CREATE or REPLACE FUNCTION HelloWorld_WebServices(S_STRING Varchar2) RETURN VARCHAR2 as

    Server sys.utl_dbws. SERVICE;

    APPEL_ sys.utl_dbws. CALL;

    service_qname sys.utl_dbws. QNAME;

    port_qname sys.utl_dbws. QNAME;

    response sys. XMLTYPE;

    application sys. XMLTYPE;

    BEGIN

    sys.utl_dbws.set_http_proxy ("hostname: Port'");

    service_qname: = sys.utl_dbws.to_qname ("ns1", "process");

    Server: = sys.utl_dbws.create_service (service_qname);

    APPEL_: = sys.utl_dbws.create_call (server);

    sys.utl_dbws.set_target_endpoint_address (APPEL_, ' http:/host name: port/soa-infra/services/OFS/HelloWorld/helloworld_client_ep ');

    sys.utl_dbws.set_property (APPEL_, 'OPERATION_STYLE', 'process');

    asks: = sys. XMLTYPE ("< ns1:process xmlns:ns1 ="http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld"> < ns1:input > < / ns1:input > < / ns1:process > '"); 

    answer: = sys.utl_dbws.invoke (APPEL_, request);

    return response.extract('//HelloWorld/child::text() ','http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld'). getstringval(); 

    DBMS_OUTPUT. Put_line ("values of the OutputsVariables8");

    -Of return ';

    END;

    Run - the code below:

    Select HelloWorld_WebServices ('Hi') to double;

    Error:

    ORA-29532: Java call terminated by eception Java exception: java.lang.NoClassDefFoundError

    ORA-06512: at "SYS." UTL_DBWS', line 403

    ORA-06512: at "SYS." UTL_DBWS', line 400

    ORA-06512: at the 'APPS '. HELLOWORLD_WEBSERVICES', line 74

    29532 00000 - "Java call terminated by eception Java exception: %s."

    * Cause: A mistake or a Java exception has been reported and could not be

    solved by Java code.

    * Action: Modify Java code, if this behavior is not expected.

    Hello

    Fixed the error

    After loading once again of DBA and network provided access files JAR/JVM firewall

    and the correction on the threshold

    Return response.extract (' / result/child::text () ','xmlns = "http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld" '). getstringval();

  • Call SOAP Web Service using UTL_HTTP vs APEX_WEB_SERVICE. MAKE_REQUEST

    Dear all,

    When I call the SOAP using APEX_WEB_SERVICE Web services. MAKE_REQUEST, so I'm able to get the response from the web service. Character, however all the German are replaced by those of the JUNK. However the data just fine when I test web services using SOAP UI.

    To resolve this problem, I tried to call the web service using UTL_HTTP. However when I use UTL_HTTP, then I get following error.

    ORA-24247: access denied by network access control list

    Can someone advise me...

    < Li > why German characters are replaced with the data side when calling WebService from APEX, while it works very well in SOAP UI
    < Li > when can I access web service successfully using APEX_WEB_SERVICE, then why he throws error ORA-24247 when I call using UTL_HTTP?


    DB: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    APEX: 4.0.2.00.07
    Web server: EPG
    SELECT * FROM NLS_DATABASE_PARAMETERS;
    
    PARAMETER                      VALUE                                  
    ------------------------------ ----------------------------------------
    NLS_LANGUAGE                   AMERICAN                                 
    NLS_TERRITORY                  AMERICA                                  
    NLS_CURRENCY                   $                                        
    NLS_ISO_CURRENCY               AMERICA                                  
    NLS_NUMERIC_CHARACTERS         .,                                       
    NLS_CHARACTERSET               AL32UTF8                                 
    NLS_CALENDAR                   GREGORIAN                                
    NLS_DATE_FORMAT                DD-MON-RR                                
    NLS_DATE_LANGUAGE              AMERICAN                                 
    NLS_SORT                       BINARY                                   
    NLS_TIME_FORMAT                HH.MI.SSXFF AM                           
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM                 
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR                       
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR             
    NLS_DUAL_CURRENCY              $                                        
    NLS_COMP                       BINARY                                   
    NLS_LENGTH_SEMANTICS           BYTE                                     
    NLS_NCHAR_CONV_EXCP            FALSE                                    
    NLS_NCHAR_CHARACTERSET         AL16UTF16                                
    NLS_RDBMS_VERSION              11.2.0.1.0                               
    
     20 rows selected
    Kind regards
    Hari

    The solution was...

    I just put following line before making the call to the web service by using APEX_WEB_SERVICE. MAKE_REQUEST.

    /*In my case DB character-set is AL32UTF8, so I set it to UTF-8. */
    
    UTL_HTTP.SET_BODY_CHARSET ('UTF-8');
    

    More information see SET_BODY_CHARSET procedures

    If I do not set this, it uses the as ISO-8859-1 character set, which is the cause of my problem.

    Kind regards
    Hari

  • Error creating the WSDL web service in 11.1.2.0.0

    Hello

    I just install JDeveloper 11.1.2.0.0. I tried to test a web service created (and tested successfully) in 11.1.1.5.0. The service is deployed on WebLogic Server internal but when I call 'Test Web Service' is the error I get:

    The tester of Web services can be invoked, because the WSDL for the service selected document cannot be read.

    java.lang.IllegalStateException: SSLContextImpl is not initialized.
    at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
    at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
    at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
    at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
    to oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$ 1.initialValue(CachedWSDLReader.java:298)
    to oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$ 1.initialValue(CachedWSDLReader.java:294)
    at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
    at java.lang.ThreadLocal.get(ThreadLocal.java:131)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
    to oracle.jdevimpl.webservices.tcpmonitor.ServiceTester$ 3.run(ServiceTester.java:262)
    at java.lang.Thread.run(Thread.java:662)

    Then I tried to create a new project and the web service in Java from WSDL, but on the second step of the wizard 'Java Web Service WSDL' when I select the WSDL file in the drive and click on 'Next' I get

    java.lang.IllegalStateException: SSLContextImpl is not initialized.

    java.lang.IllegalStateException: SSLContextImpl is not initialized.
    at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
    at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
    at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
    at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
    to oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$ 1.initialValue(CachedWSDLReader.java:298)
    to oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$ 1.initialValue(CachedWSDLReader.java:294)
    at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
    at java.lang.ThreadLocal.get(ThreadLocal.java:131)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:484)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:455)
    at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1050)
    to oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$ 1.run(SpecifyWsdlPanel.java:364)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
    at java.lang.Thread.run(Thread.java:662)

    I did the new facility of this new version of JDeveloper in New Middleware House with all the default options and it's the first thing I tried.

    Any tips?

    Thank you
    Bruno

    Bruno,

    You can try the following to me?

    1. Tools-> preferences
    2. the powers-> HTTPS Credential

    Ideally take me a screenshot here.

    3. press the button "default".

    Then restart your tool. It is for me as we take hold of your https from a previous version settings.

    Sorry for the oversight,

    Gerard

    (The developer of the HTTP parser)

  • My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

    Hello

    I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

    I need to write a login code remote URL to achieve? If so, how?

    So, how can I use this connection object to call the Web service from this URL remotely.

    Please help me out of it...

    Many thanks in advance...

    What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
    Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..
    
    loginButtonField.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field paramField, int paramInt) {
                    WaveServices.getAllCinemas();
                }
            });
    

    Indeed, the question was raised and answered here:

    http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • SOA Gateway - timeout when calling a web service custom Pl/SQL using SOAP

    Hello

    I developed and deployed my PL/SQL web service custom repository integration SOA Gateway.

    The web service works well, but sometimes its execution time exceeds 60 seconds, and I get the following time-out error: java.net.SocketTimeOutException: Read timed out

    Here's my env:

    Oracle E-Business Suite integrated SOA Gateway
    12.1.3
    IBM AIX on POWER Systems (64-bit)
    6.1

    I would like to know if there is a way to increase this time-out?

    EDIT:

    I took a quick glance at this doc errors of timeout in Web Services deployment (Doc ID 1073270.1( )

    and modified the $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml file

    then bounced oacore, oafm, but it did not work.

    EDIT 2:

    I tried to change the timeout setting in the file httpd.conf ( $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf )

    restart apache and the server, but it didn't work.

    Thank you

    Kind regards

    Simon

    In fact, I tried to play with the values that you mentioned, I put the maximum Heap space in JAVA to 2048M and in Apache timeout to 3600 seconds and after a wait of cca. 20 minutes I got the answer I needed the SOAP service.

    Kind regards

    Ognjen

  • Call the web service with Digest authentication

    Hello

    I JDevelper 12.2.4, I need build the java class to call the web service with Digest authentication.

    Any suggestion?

    Refer to:

    http://StackOverflow.com/questions/14896324/consuming-WCF-service-with-Digest-authentication-from-Java

  • problems with the XML that is returned when you call a web service with CF11

    Hi, I ran into an unusual behavior when calling web services.

    I call a web service that returns an XML like this:

    < children >

    < child >

    John < firstname > < / name >

    DOE < name > < / lastname >

    < / child >

    < / children >

    during the call to the web service of CF10, it works fine. However, when the CF11, I don't get this:

    < child >

    John < firstname > < / name >

    DOE < name > < / lastname >

    < / child >


    no < child >? for some reason, CF11 ignores / hides the highest level XML. This does not happen on previous versions. Why? the server that hosts the web service's CF11 too.

    Report it as a bug in Coldfusion. In any case, I recommend making sure your web service returns a string, not an XML object.

    This is because a web service must be universal. Appellants to .NET, Java, PHP, ASP and so on, will interpret a chain exactly the same way. Whereas an object XML Coldfusion is a construction that is heard only in CFML.

    Your return string should also start with the XML declaration, like this

    John

    DOE

    So it is clear to the appellant in which brought the cat.

  • call a Web Service of JavaFX running als WebStart to incorporate in a browser or

    Call a Web Service from a JavaFX running as an application all right.

    Wenn execute the same JavaFX as integrate WebStart or browser, I get a runtime exception:

    =================================

    Java plug-in 10.7.2.10
    JRE-Version use 1.7.0_07 - b10 Microsoft Client Java VM
    Benutzer-home-Verzeichnis = C:\Users\Olaf
    ----------------------------------------------------
    c: Konsolenfenster löschen
    f: objects in Finalisierungs-tail finalisieren
    g: garbage collection
    h: sharp Hilfemeldung ads
    l: class Loader-list ausgeben
    m: Speicherauslastung print
    o: logging auslosen
    q: Konsole ausblenden
    r: policy configuration loaded neu
    s: System-und deployment-Akbulak ausgeben
    t: Threadliste ausgeben
    v: the ausgeben thread stack
    x: Class-Loader-Cache leeren
    0-5: trace-ebony auf < n > set
    ----------------------------------------------------
    Correspondence: beginTraversal
    Match: digest selected JREDesc: JREDesc [version 1.6 +, heap =-1-1, args = null, href = http://java.sun.com/products/autodl/j2se, salt = false, null, null], JREInfo: JREInfo of index 0:
    the platform is: 1.7
    product: 1.7.0_07
    location: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\jre7\bin\javaw.exe
    args is:
    is native platform: Windows x 86 (x 86, 32-bit)
    JavaFX runtime is: JavaFX 2.2.0 found at C:\Program Files (x 86) \Java\jre7\
    the Enabled argument is: true
    saved is: false
    system is: true

    Match: ignoring maxHeap:-1
    Match: ignoring InitHeap:-1
    Match: digestion vmargs: null
    Match: digested vmargs: [JVMParameters: isSecure: true, args:]
    Match: JVM args after accumulation: [JVMParameters: isSecure: true, args:]
    Match: Digest LaunchDesc: file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jnlp
    [Match: Digest properties:]
    Match: JVM args: [JVMParameters: isSecure: true, args:]
    Match: endTraversal...
    Match: JVM args final:
    Correspondence: Correspondence of Running JREInfo Version: 1.7.0.07 == 1.7.0.07
    Match: Running JVM args match: I: <>satisfy fault: <>
    CacheEntry[file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jar]: updateAvailable = true, lastModified = Tue Sep 04 21:16:35 CEST 2012, length = 39432
    java.lang.ExceptionInInitializerError
    at com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver (unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL (unknown Source)
    to com.sun.xml.internal.ws.client.WSServiceDelegate. < init >(Unknown Source)
    to com.sun.xml.internal.ws.client.WSServiceDelegate. < init >(Unknown Source)
    at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate (unknown Source)
    to javax.xml.ws.Service. < init >(Unknown Source)
    to javafxapplication4.ws.NewWebService_Service. < init > (NewWebService_Service.java:42)
    to javafxapplication4. JavaFXApplication4.start (JavaFXApplication4.java:25)
    to com.sun.javafx.applet.FXApplet2$ 1.run(FXApplet2.java:131)
    to com.sun.javafx.application.PlatformImpl$ 4.run(PlatformImpl.java:173)
    at com.sun.glass.ui.win.WinApplication._runLoop (Native Method)
    in com.sun.glass.ui.win.WinApplication.access$ 100 (WinApplication.java:29)
    to com.sun.glass.ui.win.WinApplication$ $2 1.run(WinApplication.java:67)
    at java.lang.Thread.run (unknown Source)
    Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" 'xml.catalog.ignoreMissing', 'read')
    at java.security.AccessControlContext.checkPermission (unknown Source)
    at java.security.AccessController.checkPermission (unknown Source)
    at java.lang.SecurityManager.checkPermission (unknown Source)
    the impossible (unknown Source)
    the impossible (unknown Source)
    to com.sun.org.apache.xml.internal.resolver.CatalogManager. < init >(Unknown Source)
    to com.sun.org.apache.xml.internal.resolver.CatalogManager. < clinit >(Unknown Source)
    ... 14 more
    ======================================================

    Any hint for me.

    THX

    OLAF

    Sign your application.

    http://docs.Oracle.com/JavaFX/2/deployment/deploy_overview.htm#CEGJGHDA

  • the initialization of a variable in a bpel workflow to call another web service

    Hello

    I'm fairly new development bpel. I don't have a early created myself but unfortunately, I only got to work on existing projects from now on. I am wanting to add an invocation of another web service to an existing bpel service. I added the wsdl for .bpel and composite.xml files info, and I can see the operations, so my plan is to see the service properly, and I created the necessary links.

    I just need to initialize the variables that I'm passing on this web service. Basically need to invoke the web service passing in xml format that would go into these elements:

    < ns1:dataRequest >
    < ns1:appName > < / ns1:appName >
    < ns1:progName > < / ns1:progName >
    < ns1:valueUsed > < / ns1:valueUsed >
    < ns1:setting > < / ns1:setting >
    < / ns1:dataRequest >

    Can someone just point me in the right direction on this. I think I need to create a new .wsdl file that I've read so far, but I have a lot of time looking for this problem - it is low on my priorities. So I thought that it might accelerate things to go ahead and ask here before I dive into it later.

    Thank you

    Hello

    As far as I get your situation is you want to call a web service from BPEL process existing. Here are the steps that you can follow.

    (1) create a partner link in the BPEL process that calls the external Web service.
    (2) create an activiyt to invoke in BPEL process that invokes the foregoing created partner link
    (3) create an Assign activity that initializes the variable which is an entry to invoke activity.

    Let me know if you have confusion with this approach.

    Thank you
    AJ

  • Matter of business for OSB 10.3.1 when to call the web service from SAP ECC 710

    Hello

    1. I was a unit test for a business service that calls a web service from SAP ECC 710 (this service is published directly to a RFC function via SOA Manager module);

    2. the problem is when I use the OSB test console, which generates the request below message:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    * < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
    * < / soap: Header > *.
    < soapenv:Body >
    < xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    string of < ContractInfo > < / ContractInfo >
    < / urn: Zmmjf503 >
    < / soapenv:Body >
    < / soapenv:Envelope >

    the response message is:
    < SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
    < SOAP - env:Header >
    < n0:MessageID = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:n0 >
    UUID:4cbe5b84 - 474 c-9abe-e100-00000ad00164
    < / n0:MessageID >
    < n1:Action SOAP - env:mustUnderstand = "1" xmlns:n1 = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope" / >
    < / soap - env:Header >
    < SOAP - env:Body / >
    < / soap - env:Envelope >


    Above the response indicates that the BS called SAP Web server successfully, but seems that the service did not get the request message.

    3. the Web service can be called successfully through SoapUI. and I checked the soapUI request message; and it can work if I just change the request:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    * < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
    < soapenv:Body >
    < xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    string of < ContractInfo > < / ContractInfo >
    < / urn: Zmmjf503 >
    < / soapenv:Body >
    < / soapenv:Envelope >

    and I got the right answer:
    < SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
    < SOAP - env:Header / >
    < SOAP - env:Body >
    < n0:Zmmjf503Response xmlns:n0 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    < Recmsg > <! [CDATA [<? xml version = "1.0" encoding = "utf-8"? > < DocumentResponse > < CONDITION > 0 < / STATE > < HTBH > < / HTBH > < MESSAGE > < / MESSAGE > < / DocumentResponse >]] > < / Recmsg >
    < / n0:Zmmjf503Response >
    < / soap - env:Body >
    < / soap - env:Envelope >

    4 it bother me, because the only difference between the above two request messages is the header (one contains a "newline"):
    ------------------------------------------------------------------------------------------------------------------------------
    * < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
    * < / soap: Header > *.
    -------------------------------------------------------------------------------------------------------------------------------
    VS
    --------------------------------------------------------------------------------------------------------------------------------------
    * < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
    ----------------------------------------------------------------------------------------------------------------------------------------

    5 I thought that the SOAP engine should ignore "carriage returns", seems this is a problem of SAP ECC710.

    Do you have someone having this problem? Thank you


    Concerning
    Wen

    Hello Wen,

    I tried to use exactly the same request (carriage return) to call the service through soapUI, and it does not work... just like BS OSB
    should I assume that it is a matter of SAP ECC?

    That same demand also doesn't SOAPUI so certainly it's an issue with SAP ECC. I doubt that SAP ECC is the treatment the carriage return as an end of file marker. Check with support.

    Kind regards
    Anuj

  • Using CFHTTP to call a web service

    We use a CF5 server and will not update to MX anytime soon. I need to call a web service and understand that I can do that with CFHTTP. Can someone direct me to any docs or give me examples of how to do that?

    Answered my own question. The problem I had was returning complex data types. CFHTTP. FILECONTENT actually returned as WDDX MX web service, so I was able to use the CFWDDX tag to transform a structure of SOAP in a CF structure, and it works perfectly.

  • Call a web service in java (JDeveloper)

    Hello everyone,

    I'm working on a project for my studies of computer science (@University of Freiburg, Germany).
    I want to call another student web service. I need the other web service as input for my own calculation. (Customer Lifetime Value j4i :)) Unfortunately, I couldn't find tutorials or other help in the web. So I hope you guys could help me.

    Basically, I'm looking for a small piece of code in java or a tutorial, that calls a web service to exsiting. Code Java would be particularly useful, since my work is written in java (and later deployed by JDevelloper as a web service). I found a few tuts on service control over the sites of the Oracle, but I do not know how to work with the ctrl files either.

    Greetings,
    Sebastian

    http://www.Oracle.com/technology/OBE/obe11jdev/11/WS/WS.html#T5

Maybe you are looking for