Dump of the results of the Web Service call in the container

Hi, I was not able to get my webservice call to work yet, but I'm curious as to what I can dump results in inspection? Rich text editor, text or other area?

Thank you!

OK, I'm a newbie at this and I find it really useful and easy to use. Shows all the different types of traffic generated in an easy to use/display format. Very well designed tool! I'm going to buy a license shortly... Thanks for the tip!

Tags: Flex

Similar Questions

  • Results of long-term with the web service call process

    I'm starting a long-lived process that dragged out variables using a .net web service call. I would like to be able to get these output variables. I find all of the features in the JobManager service to do this... y at - it another way to do this? I am not above querying the Livecycle database...

    Thank you

    Mike

    It will work only after that the process is 'complete'.. then you need to check the status... .and when that is complete, then you can check the results.

    Paul

  • Make a REST Web service call. Error code: 401 Access to the requested resource is not allowed

    Hi all

    I'm having a hard time finding ways to Rest Web service calls.

    I tried this runs directly through the browser and I get an error.

    http:localhost:8080/r EST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected] & arg2 = password

    13:18:20, 613 [RestSecurityServlet] error code: 401

    Access to the requested resource is not allowed: / atg/userprofiling/ProfileServices

    1. atg.rest.RestException: access to the requested resource is not allowed: / atg/userprofiling/ProfileServices

    at atg.rest.processor.RestSecurityProcessor.checkAccess(RestSecurityProcessor.java:546)

    at atg.rest.processor.RestSecurityProcessor.handleGetRequest(RestSecurityProcessor.java:313)

    at atg.rest.processor.RestSecurityProcessor.doRESTGet(RestSecurityProcessor.java:199)

    at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:417)

    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:260)

    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320)

    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:264)

    at atg.rest.servlet.HeadRestServlet.service(HeadRestServlet.java:130)

    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)

    Documentation, I understand that I need to create a session, the session is needed to access the secure components since this

    method specific 'ProfileServices.loginUser' was declared as non-secure, restSecurityConfiguration.xml

    In addition, there are two different ways in which I can connect

    1. 1. with the help of RestSession.createSession providing the user name and password.
    2. 2. or by using ProfileServices.loginUser or ProfileFormHandler

    Can someone please clarify

    If you call the REST web service from a Java client, you can create a RestSession object using the createSession method. But in your case you seem to be invoking it with an HTTP request, which, by default, would be considered a GET request by application of the REST of the ATG. So either a GET, he would try to get a property "loginUser" of the component/atg/userprofiling/ProfileServices (based on your URL) that would always fail.

    To call the method ProfileServices loginUser() with your argument, you need to tell the system to the REST of the ATG to process your incoming request not GET, but as a demand that you can do to atg-rest-http-method of the parameter control in your application like this

    http:localhost:8080/rEST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected]& arg2 = password & atg-rest-http-method = POST

    It should work in this way, your restSecurityConfiguration.xml is correct.

  • Is it possible to recover all the virtual machines in a cluster in a single web service call?

    I tried to retrieve the list of all virtual machines in a cluster to a single web service call, but to no avail. It seems that there is no direct web service API to achieve this goal. Alternative options must first recover the hosts or data warehouses in the cluster and then recover virtual machines from there. But still, if anyone has an idea how we can do this please let me know. All help information will be greatly appreciated.

    It is possible, if you use the PropertyCollector.

    (It is usually the answer to questions of the form "Is it possible to retrieve the X in a single web service call").

    Call"propertycollector.retrievecontents:

    http://www.VMware.com/support/developer/VC-SDK/visdk41pubs/ApiReference/vmodl.query.PropertyCollector.html#retrieveContents

    allows you to retrieve a whole bunch of stuff in a single call, which you then have to go through and interpret.

    A snippet of code Java VI is not-really-tested to find virtual machines in a ComputeResource (cluster) is attached.

  • Web service call - works locally but not on mobile?

    Hello

    I have a web service call (the service is hosted on the cloud is an external area of permamnent) which works fine when I test locally using the Flex Buritto built in emulator or directly by using my browser.

    But when trying a android phone (tried a few of them - link one, nexus s and galaxy tab) the service is called but never returns anything.

    Is there a good way to trace of call / understand the problem?

    Thank you

    NIR

    Export project based on your device...

    If your developling locally you must do in order to get the remote calls to work

    That should solve your problem

  • ODSI web service calls

    Hello

    I want to route the ODSI web service calls to different hosts in different environments. In other words, in my development environment, I don't want to call a quick service to "myosb - dev.mycompany.com:7001", but in production, I don't want to call the same service to the "myosb - prod.mycompany.com:8021".

    I see that I can configure a different port for the Physics Department in the ODSI administration console. However, it is not very practical, since the original WSDL must contain information port for all environments from the get-go. If the service is reinstalled in the production, I need to update the wsdl file and redeploy my data space for moving. This can be a problem due to the cycle of deployment of my app be out of sync with the service that I give the floor.

    My question is: is it possible to configure the addresses to host more dynamically? Is it possible to use a variable to control this information a set of services that are located on the same server?

    Thank you!

    The f

    Go to the Console ODSI. Click your data space. Click the physical Source (at the bottom of the left panel).
    Click on "Web Services" and select the Web service you want to change.

    You will see a place where you can specify a 'new value' for the wsdl file. So if you make a copy of your wsdl and the change of the

    to the other server, you could specify that wsdl.

    It seems you could also copy the "service" element (or just the "port" element) in the original wsdl, and substitute in the ODSI console for the appropriate service or port. I've never tried that. I'm not sure if you also need to copy any elements that refer to the service or port.

    Here's the doc http://download.oracle.com/docs/cd/E13162_01/odsi/docs10gr3/admin/server.html#wp1049919

    Here's a thread about doing this via WLST Dataspace imports with WLST : Full Deployment option?


              
                   
              

         


              
                   
              

         

  • Conversion error in CFML arguments to the Java classes for the web service call.

    Hi all.

    I'm working on writing a small application that uses a web service that is provided by our IVR (Angel.com). I am able to connect, however, when I try to do something with complex objects, I get the error indicated in the title.

    He seems to have a problem with the table because when I remove it, or it becomes a simple string, I get errors on the function could not be found. I'm relatively new to web services, and especially dealing with complex data types, so any help would be appreciated.

    You can see my test page to

    http://webservices.fpitesters.com/AngelCalls.cfm

    I use the language WSDL can be found at

    http://www.Angel.com/outbound/WSDL/OutboundCallService.WSDL

    Some examples of code that does what I want to do in Java / Apache Axis

    http://www.Socialtext.NET/ivrwiki/index.cgi?java_sample_code

    Here is a description of the function that I have problems with

    http://www.Socialtext.NET/ivrwiki/index.cgi?placecall

    And my code is attached.

         <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 tabular before adjustment

    
    

    It will be passed as a structure with a key of 1.  This could cause your conversion of argument error.

    So:

    
    

    Will result in

    struct
    MAXWAITTIME 100
    PHONENUMBERS
    struct
    1 7632344306
    SITENUMBER 100041
      
    

    Will result in

    struct
    MAXWAITTIME 100
    PHONENUMBERS
    Table
    1 7632344306
    SITENUMBER 100041

    -Jason Morgan

  • To access the soap headers to return Web service calls

    Is it possible to get the headers returned from a Web service?

    I tried to access it through the ResultEvent (event.message.headers), but it is unclear how it works.
    The debugger did not me any smarter either, nor documentation.


    Someone has an idea?


    Erik Pettersson

    Flexforum.org

    They are hidden in WebService.Operations.theMethod.resultHeaders

    This makes it a bit complicated to fetch from the result handler, if we do not know the operation he responds too (I'm looking for a way to get this info from the event).

    This would fit in the wish list:

    resultHeaders in the ResultEvent. Please, I beg you.

    Erik Pettersson

    Flexforum.org

  • Problem with the web service call

    I use ajax with json to call webservice but its not working with the localhost url in the emulator of the ripple. If I use an ip address or external url does not call the webservice.

    I also tried with BlackBerry, webservice does not.

    can someone guide me how to call the Web service?

    Thank you

    Sundaram

    Your file config.xml needs the ip address or the url in the "whitelist".  Use the access for that tag.  for example:

    
    

    The piece above is not secure because it whitelists ALL------* areas.  You can put your url in the uri.

  • [MAF - AMPA] How the custom/override error after the failure of the asynchronous Web service call?

    Hi Experts,

    I am looking for a best practice to make the error handling in the MAF.

    Currently my application is using AMPA and call the REST service.

    However, I would like to know how to handle this kind of error

    1. the device is not connected to the network (can we personalized it?)

    error2.png

    2. the device is connected to the network but cannot call service

    error1.png

    3 and the other exceptions of the asynchronous call to the AMPA

    In addition, how to mark a method call in the exception handler?

    referring to this http://multikoop.blogspot.com/2014/02/adf-handling-exceptions-from_14.html in ADF tf we mark as exception handler.

    Best regards

    Hendry

    Hendry,

    You have several options. It depends on how you want to handle exceptions:

    -If you just want to hide the mistakes of web service end-user call, you can set the showWebServiceInvocationErrors property in the persistence - mapping.xml to false (you want to generally this set to false, by putting your application in production, the default value is true, because during development, it is more convenient to directly see the errors of appeal WS)

    -If you want to display a custom error message, you can create a subclass of RestJSONPersistenceManager, register for this subclass using the property "remotePersistenceManager" in persistence - mapping.xml and override the handleInvokeRestServiceError method.

    It depends also how you want to process POST/PUT/DELETE requests that fail. Do you want the AMPA runtime register this request as pending for the runtime synchronization action automatically tries to return the claim later? Or you just want to display an error message to the end-user with a text like "try again later?

    Steven Davelaar,

    Oracle Mobile A-team.

  • UTL_HTTP: ORA-29259: end-of-input reaches the web service call error

    Hi gurus,

    I'm calling the DB using UTL_HTTP webservice, but I keep getting the following error.  Please note that I am calling only HTTP and HTTPS.

    ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1369

    ORA-29259: end-of-input reached

    ORA-06512: at "APL_GLOGEXTN. APL_INT_BEM', line 20

    ORA-06512: at "APL_GLOGEXTN. APL_INT_BEM', line 50

    ORA-06512: at line 1

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    Status code: 1

    I call a Web service using the code below

    exec utl_http.set_proxy ("172.10.0.00:1524");

    SET SERVEROUTPUT ON

    EXE DTS_INT_BEM. CALL_BEM();

    and the details of the PL/SQL package is expected at the point.

    create or replace

    package body 'DTS_INT_BEM' as

    PROCEDURE INVOKE_BPEL_WS)

    P_ENDPOINT_URL IN VARCHAR2,

    P_SOAP_REQUEST IN VARCHAR2,

    P_RETURN_STS OUT VARCHAR2)

    IS

    REQUEST_ENVELOPE VARCHAR2 (30000): = P_SOAP_REQUEST;

    RESPONSE_ENVELOPE VARCHAR2 (30000);

    HTTP_REQUEST UTL_HTTP. REQ;

    HTTP_RESPONSE UTL_HTTP. RESP;

    BEGIN

    HTTP_REQUEST: = UTL_HTTP. BEGIN_REQUEST (P_ENDPOINT_URL, 'POST', ' HTTP / 1.1 ');

    UTL_HTTP. SET_HEADER (R = > HTTP_REQUEST, name = > 'Content-Type' ', value = > ' text/xml; charset = utf-8 ');

    UTL_HTTP. SET_HEADER (r = > http_request, name = > 'Content-Length', value = > LENGTH (REQUEST_ENVELOPE));

    UTL_HTTP. SET_HEADER (R = > HTTP_REQUEST, name = > 'SOAPAction', value = > 'Start');

    UTL_HTTP. WRITE_TEXT (R = > HTTP_REQUEST, data = > REQUEST_ENVELOPE);

    dbms_output.put_line (' status code: 1');

    HTTP_RESPONSE: = UTL_HTTP. GET_RESPONSE (r = > HTTP_REQUEST);

    UTL_HTTP. END_RESPONSE (HTTP_RESPONSE);

    P_RETURN_STS: = HTTP_RESPONSE.reason_phrase;

    / * EXCEPTION

    WHEN UTL_HTTP. END_OF_BODY THEN

    UTL_HTTP. END_RESPONSE (HTTP_RESPONSE);

    WHEN UTL_HTTP. REQUEST_FAILED THEN

    P_RETURN_STS: = ' request failed: ' | UTL_HTTP. GET_DETAILED_SQLERRM;

    WHEN UTL_HTTP. HTTP_SERVER_ERROR THEN

    P_RETURN_STS: = ' Server error: ' | UTL_HTTP. GET_DETAILED_SQLERRM;

    WHEN UTL_HTTP. HTTP_CLIENT_ERROR THEN

    P_RETURN_STS: = ' Client error: ' | UTL_HTTP. GET_DETAILED_SQLERRM;

    WHILE OTHERS THEN

    P_RETURN_STS: = ' Client error: ' | UTL_HTTP. GET_DETAILED_SQLERRM; * /

    END INVOKE_BPEL_WS;

    --------------------------------

    Procedure CALL_BEM / * (-type_objet_p IN VARCHAR2)

    -p_process_name in varchar2,

    -p_response out varchar2

    )

    */

    IS

    l_endpoint_url VARCHAR2 (200): =' http://172.10.0.00:10101/soa-infra/services/default/ShipmentBusinessRule/BusinessRuleProcess.service?WSDL ';

    l_soap_request VARCHAR2 (30000): = NULL;

    l_bpel_return_sts VARCHAR2 (3000);

    BEGIN

    " l_soap_request: = ' < soapenv:Envelope xmlns:soapenv = ' http://schemas.xmlsoap.org/SOAP/envelope/ "xmlns:bus =" " http://xmlns.Oracle.com/BPMN/bpmnProcess/BusinessRuleProcess ' > < soapenv:Header / > < soapenv:Body > < bus: departure > < Transmission xmlns = " http://xmlns.Oracle.com/apps/OTM " "targetNamespace =" http://xmlns.Oracle.com/apps/OTM "> < TransmissionBody > < GLogXMLElement > < PlannedShipment xmlns =" http://xmlns.Oracle.com/apps/OTM "> < delivery > < ShipmentHeader > < ShipmentGid > < Gid > < domain_name > DTS/EXE < / domain_name > < Xid > 01409 < / Xid > < / Gid > < / ShipmentGid > < ShipmentRefnum > < ShipmentRefnumQualifierGid > < Gid > < Xid > GLOG < / Xid > < / Gid > < / ShipmentRefnumQualifierGid > < ShipmentRefnumValue > DTS/EXE.01409 < / ShipmentRefnumValue > < / ShipmentRefnum > < ShipmentRefnum > < ShipmentRefnumQualifierGid > < Gid '" > < Xid > BM < / Xid > < / Gid > < / ShipmentRefnumQualifierGid > < ShipmentRefnumValue > RIAD-000235 < / ShipmentRefnumValue > < / ShipmentRefnum > < TransactionCode > NP < / TransactionCode > < ServiceProviderGid > < Gid > < domain_name > DTS/DATA < / domain_name > < Xid > RIAD < / Xid > < / Gid > < / ServiceProviderGid > < ServiceProviderAlias > < ServiceProviderAliasQualifierGid > < Gid > < Xid > GLOG < / Xid > < / Gid > < /. ServiceProviderAliasQualifierGid > < ServiceProviderAliasValue > DTS/DATA. RIAD < / ServiceProviderAliasValue > < / ServiceProviderAlias > < RateServiceGid > < Gid > < domain_name > DTS/PCM < / domain_name > < Xid > VESSEL_SERVICE < / Xid > < / Gid > < / RateServiceGid > < TransportModeGid > < Gid > < Xid > BOAT-CO < / Xid > < / Gid > < / TransportModeGid > < TotalWeightVolume > < WeightVolume > < weight > < WeightValue > 57.0 < / WeightValue > < WeightUOMGid > < Gid > < Xid > KG < / Xid > < / Gid > < / WeightUOMGid > < / weight > < Volume > < VolumeValue > 0.3 < / VolumeValue > < VolumeUOMGid > < Gid > < Xid > CUMTR < / Xid > < / Gid > < / VolumeUOMGid > < / Volume > < / WeightVolume > < / TotalWeightVolume > < TotalShipUnitCount > 8 < / TotalShipUnitCount > < StartDt > < GLogDate > 20140217124300 < / GLogDate > < TZId > Asia/Hong_Kong < / TZId > < TZOffset > + 08:00 < / TZOffset > < / StartDt > < EndDt > < GLogDate > 20140311234300 < / GLogDate > < TZId > America/Chicago < / TZId > < TZOffset > - 05:00 < / TZOffset > < / EndDt > < SourceLocationRef > < LocationRef > < LocationGid > < Gid > < domain_name > DTS/DATA < / domain_name > < Xid > HKHKG < / Xid > < / Gid > < / LocationGid > < / LocationRef > < / SourceLocationRef > < / ShipmentHeader > < / shipping > < / PlannedShipment > < / GLogXMLElement > < / TransmissionBody > < / Transmission > < / bus: start > < / soapenv:Body > < / soapenv:Envelope > ';

    invoke_bpel_ws (l_endpoint_url, l_soap_request, l_bpel_return_sts);

    dbms_output.put_line ('-' | l_bpel_return_sts);

    end CALL_BEM;

    end DTS_INT_BEM;

    Thanks in advance for the help.

    Shobz

    Hi Billy,

    Thanks for the reply. It was with the proxy setting.

    Once UTL_HTTP. SET_PROXY has been set properly, I no longer get the error of end-of-input.

    Thanks for the help...

    Kind regards

    Shobz

  • The secure web service call error.

    Hello

    I try to access a web service secured through a simple BPEL process in SOA Suite 11 g. When I test it through the company Manager, I get the following error. Since this is a guarantee websecure I put the policy(oracle/wss_username_token_client_policy) WS in the external reference and also provided identifying information. If someone had a similar error or know the solution please let me know. Also, I'm not sure if its related to security, or is - the way I am calling the service.

    Error message:
    Error ID reference: 80014
    Lack of time may 22, 2011 12:54:45
    Anomaly of the non-recoverable system:
    javax.xml.ws.soap.SOAPFaultException: 99999: unknown Service

    Error message: {http://schemas.oracle.com/bpel/extension} remoteFault
    Error default/Mocking!1.0*soa_be35cb3e-5f05-49df-a696-a653d5703681/BPELProcess1/30017-BpInv0-BpSeq0.3-3 ID
    Lack of time may 22, 2011 12:54:46

    Anomaly of the non-recoverable system:
    < bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns = "http://schemas.oracle.com/bpel/extension" > < a name = "summary" part > < summary > 99999: unknown Service < / summary > < / part > < part name = "detail" > < details > & lt; con xmlns:Con: fault = "http://www.bea.com/wli/sb/context" > & lt; Con: errorCode > 99999 & lt; / con: error code > & lt; Con: reason > unknown Service & lt; / con: reason > & lt; Con: location > & lt; Con: node > PipelinePairNode1 & lt; / con: node > & lt; Con: pipeline > PipelinePairNode1_request & lt; / con: pipeline > & lt; Con: Stadium > stage1 & lt; / con: Stadium > & lt; / con: location > & lt; / con: fault > < / detail > < / part > < part name = "code" > < SOAP: server code > < / code > < / piece > < / remoteFault > < / bpelFault >

    This occurs if you have several (different webservices) WSDL imported into your project and they share common artifacts(XSD's). In this case, what you do, it's just that you separated from xsd to wsdl and deleted conflicts. This approach is suggested when you do not have control on WSDL that may be provided by different team and they all share common XSD.

    Thank you
    Smail
    http://soadiscovery.blogspot.com

  • best practices for the web service call

    Can I add a web service by using the standard data connection Wizard - works fine. I can also do it in Javascript which give me a little more flexibility. Is there a guideline or wisdom for which is better?

    Everything depends on your condition...

    For example, if you know your address Web service at the time of the design itself, then it would be better to put in the tab of data connection.

    But if your webservice address changes at runtime based on the environment in that your application is deployed, then you can use the java script code to change the webservice dynamically address.

    Thank you

    Srini

  • HOW URL WSDL Web Service: Web Service call in the workflow

    have a 1 step, Web service workflow: call the Web Service.  I wish I could pass a string parameter to the url of the endpoint for the parameter of the URL of the WSDL in the Web service settings dialog box as oppose to the transmission of the actual url (http://machine/some_service.svc?wsdl).

    The reason is that we are moving the workflow between environments DEV, TEST, etc., we do not want to reopen the workflow in each env and update the DEV, TEST endpoint.

    I tried the following without success

    1. create a parameter of type String devURL

    2 by default, set the value on http://machine/some_service.svc?wsdl

    3 Goto service web appeal stage and set the URL of the WSDL to the /process_data/@devURL

    I get the error:

    java.io.FileNotFoundException: \process_data\@devURL

    at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)

    at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)

    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity (unknown Source)

    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion (unknown Source)

    at org.apache.xerces.parsers.XML11Configuration.parse (unknown Source)

    at org.apache.xerces.parsers.XML11Configuration.parse (unknown Source)

    at org.apache.xerces.parsers.XMLParser.parse (unknown Source)

    at org.apache.xerces.parsers.DOMParser.parse (unknown Source)

    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse (unknown Source)

    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)

    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)

    at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)

    to org.apache.axis.wsdl.gen.Parser$ WSDLRunnable.run (Parser.java:361)

    at java.lang.Thread.run(Thread.java:595)

    I don't think that the URL of the WSDL parameter can even accept a parameter as the username + password settings.

    Is this possible?  OR if not, how can this be achieved?

    Under the Service Web Options change 'The Option' use 'variable' instead of 'literal '. Then click the Green + and it will create a variable of type WebServiceSettingBean.

    You can use a setValue before the stage of web service to set this variable.

    Jasmine

  • Urgent: The PL/SQl web service call fails with XML parsing

    Hello

    I try to call a WebService from PL/SQL (using the SOAP and UTL_HTTP Protocol built in package). I use Oracle 9i. I'm calling from pl/sql block, created in java web service method invocation.
    I get the below response as a SOAP protocol object, but I could not able to parse the SOAP.
    Could you please provide values for FirstName, LastName, and ErrorDescription


    declare
    request_env varchar2 (32767).
    v_xml XMLTYPE.
    l_user_first_name varchar2 (100);
    l_user_last_name varchar2 (100);
    l_error_value varchar2 (100);

    Start
    response_env: =' < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    < soapenv:Body >
    < UserInfoObjResponse xmlns:axis2ns1 = "http://www.test.com/services" >
    < axis2ns1:FirstName > first name out < / axis2ns1:FirstName >
    < axis2ns1:LastName > last exit name < / axis2ns1:LastName >
    < axis2ns1:ErrorDescription / >
    < / UserInfoObjResponse >
    < / soapenv:Body >
    < / soapenv:Envelope > ';

    dbms_output.put_line (' length to ask:' | length (response_env));
    dbms_output.put_line (' ask: ' | response_env);

    v_xml: = XMLTYPE (response_env);

    -SELECT EXTRACTVALUE(v_xml, '//UserInfoObjResponse/FirstName') IN the varchar2 (100) of l_user_fast_name; FROM DUAL;

    dbms_output.put_line ('l_user_first_name: ' | l_user_first_name);
    dbms_output.put_line ('l_user_last_name: ' | l_user_last_name);
    dbms_output.put_line ('l_error_value: ' | l_error_value);
    end;

    NS is a string that contains the declaration of namespaces.

    Look at line 7:

    ns varchar2(200) := 'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axis2ns1="http://www.test.com/services"';
    

    Max
    http://oracleitalia.WordPress.com

  • missing namespace for the parameters in the web service call

    We try to call a web service developed by Java & XFire. The WSDL is valid for WS - I Basic Profile and it works very well with SoapUI. The query generated automatically by SoapUI is the following:

    "" "" "< soapenv:Envelope xmlns:soapenv = ' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns: your =" http://www.example.org/test8/ " xmlns:tes1 =" http://www.example.org/test8 "> "
    < soapenv:Header / >
    < soapenv:Body >
    < your: parameters >
    < a >
    < tes1:id > 44444444444445 < / tes1:id >
    < tes1:b >
    < tes1:id >? < / tes1:id >
    < / tes1:b >
    < /a >
    < id >? < /ID >
    < / your: parameters >
    < / soapenv:Body >
    < / soapenv:Envelope >

    When we put this in Flex, what we are seeing is that the namespace for the parameters element is missing. We see it in the proxy logs. The server receives this message and parameters is not in namespace, so the server complains that the parameters is missing. We can reproduce this exact behavior by removing namespace in the query with SoapUI.

    The question is why flex removes namespace for the element parameters?

    We use the literal to the WSDL document, and I paste below. We have been stuck on this for over a week, so if anyone has any suggestions I would be eternally grateful. Thank you

    <? XML version = "1.0" encoding = "UTF-8"? >
    < wsdl:definitions
    ' xmlns:SOAP =' http://schemas.xmlsoap.org/wsdl/soap/ "
    ' xmlns:TNS =' http://www.example.org/test8/ '
    ' xmlns:WSDL =' http://schemas.xmlsoap.org/wsdl/ '
    "container =" http://www.w3.org/2001/XMLSchema "
    name = "test8".
    targetNamespace =" http://www.example.org/test8/" > "
    WSDL: < types >
    < xsd: Schema
    "targetNamespace =" http://www.example.org/test8/ "
    xmlns:Q1 =" http://www.example.org/test8" > "
    < xsd: import
    schemaLocation = "Test8.xsd."
    namespace =" http://www.example.org/test8" > "
    < / xsd: import >

    < xsd: complexType name = "fooRequestType" >
    < xsd: SEQUENCE >
    < xsd: ELEMENT
    name = "a".
    Type = "Q1:A" >
    < / xsd: element >
    < xsd: ELEMENT
    name = "id".
    Type = "xsd: String" >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < xsd: complexType name = "fooResponseType" >
    < xsd: SEQUENCE >
    < xsd: ELEMENT
    name = "b".
    Type = "Q1:B" >
    < / xsd: element >
    < xsd: ELEMENT
    name = "id".
    Type = "xsd: String" >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: Schema >
    < / wsdl: types >
    < name of the WSDL: message = "fooRequest" >
    < wsdl: part
    name = "parameters".
    Type = "tns:fooRequestType" / >
    < / wsdl: message >
    < name of the WSDL: message = "fooResponse" >
    < wsdl: part
    name = "parameters".
    Type = "tns:fooResponseType" / >
    < / wsdl: message >
    < name of wsdl: portType = "Test8" >
    < name of wsdl: Operation = "foo" >
    < message wsdl: Input = "tns:fooRequest" / >
    < message wsdl: output = "tns:fooResponse" / >
    < / wsdl: Operation >
    < / wsdl: portType >
    < wsdl: Binding
    name = "Test8SOAP".
    Type = "tns:Test8" >
    < soap binding:
    style = "document".
    "transport =" http://schemas.xmlsoap.org/soap/http " / >
    < name of wsdl: Operation = "foo" >
    WSDL: input >
    < use of soap: body = "literal" / >
    < / wsdl: Input >
    < wsdl: output >
    < use of soap: body = "literal" / >
    < / wsdl: output >
    < / wsdl: Operation >
    < / wsdl: Binding >
    < wsdl:service name = "Test8" >
    < wsdl: port
    Binding = "tns:Test8SOAP."
    name = "Test8SOAP" >
    "" < soap: address location = ' http://www.example.org/test8 ' / >
    < / wsdl: port >
    < / wsdl:service >
    < / wsdl:definitions >

    the XSD containing A and B:

    <? XML version = "1.0" encoding = "UTF-8"? >
    "" "" "" < scheme xmlns = " http://www.w3.org/2001/XMLSchema" targetNamespace = ' http://www.example.org/test8 ' xmlns:tns = ' http://www.example.org/test8 ' elementFormDefault = "qualified" >

    < name complexType = 'A' >
    <>sequence
    < element
    name = "id".
    Type = "string" >
    < / item >
    < element
    name = "b".
    Type = "tns:B" >
    < / item >
    < / sequence >
    < / complexType >

    < complexType name = "B" >
    <>sequence
    < element
    name = "id".
    Type = "string" >
    < / item >
    < / sequence >
    < / complexType >
    < / schema >

    The solution seems to be that Flex doesn't support unwrapped no literal document. Flex only supports rpc literal or literal wrapped document. This seems to be because flex adds the name of the xml message method and in the unpacked literal document there is no message name in the soap message.

    It took a lot of time to understand this, partly because we did not know exactly what is wrapped meant (there is no option in Eclipse WTP for her, no way to verify no wrapped with a tool, etc.). If Flex said that she did not support unpacking literal document we would have saved ourselves a week or two.

Maybe you are looking for

  • Universal Clipboard working somehow

    Universal Clipboard works well for me my MacBook Pro for iPhone, but its not working only not from iPhone to MacBook Pro. No idea what could be the problem here?

  • HP 350 1: update the BIOS

    My HP G1 was Windows 7.  I have upgraded to Windows 10. I received an email to download the new BIOS up to date. I checked on the HP site. This is for windows 7 not Windows 10. Support system HP does no update. Should I try and download this update?

  • Re: LEDTV 40RL933G does not work

    Hello Our new Tv 40RL933G does not rotate, once we have selected "ATV > entry > #1.We have already unplugged the TV for more than 1 minute, but nothing seems to work.The green light is on, but there is nothing on the screen.Can someone please? Thank

  • Sometimes no transfer via WLan on Satellite L350

    Hello I have a big problem with my Wan connection.The WAN is connected every time, but sometimes I have no transfer over Wlan.So I can t talk with Skype or normal surf. After 30 sek - 1 minute it starts to work correctly. I renew all the drivers, tha

  • ProBook g3 450: 450 drive carrier hard g3 &amp; screws

    Hey all,. I have a g3 450 probook initially provided with ssd of m2 in height only, no mechanical hard drive. I wanted to add a hard drive to secondary storage on empty place, but there was no media mounting or screw provided with it. Where can I get