Testing a gateway service with UDDI looked up service registered-Failing

Hi All,
I have imported a service to OWSM gateway using UDDI.The service has been imported successfully,however when I am testing the gateway I am getting the following error:-
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xmlns:p="http://schemas.oblix.com/ws/2003/08/Faults">p:Client.UndeliverableFault</faultcode>
<faultstring>Cannot perform client request</faultstring>
null</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
But the same UDDI service is working well with BPEL.Please let me know where am I going wrong?It's urgent I have a present delivery to make.Please help me out.
Thanks.

Hi,
Have you resolved the error message. As I am also getting the same error message. My webservices are BPEl web service (third party) but they work fine. I am trying to secure it using OWSM and getting the same error message. It works fine on its own.
Please let me know How did you resolve it?

Similar Messages

  • Error testing webservice using ESB with Oracle apps adapter services

    When creating a simple ESB project with Oracle Applications adapter service, i get the following error when testing the webservice via EM.
    SOA suite 10.1.3.3
    oracle EBS 11.5.10
    Any pointer on how to fix this is very much appreciated.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:ESBMessageProcessingFailed</faultcode><detail><EventName>DefaultSystem.GetOrderRS.executeprocedure</EventName><Cause>An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/LoadCustomer_orappdorders/orappd11i.wsdl [ orappd11i_ptt::orappd11i(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'orappd11i' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    Please verify the spelling of the property.
    ; nested exception is:
         ORABPEL-12532
    Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    Please verify the spelling of the property.
    ; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
    Please verify the spelling of the property.
    ; nested exception is:
         ORABPEL-12532
    Error while setting JCA WSDL Property.
    Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec

    Fix is as pointed in Error reported during AP Invoice concurrent program.

  • Test Web Services with X509 Certificate

    Hello,
    We'd like to perform a test of our web services with an X509 Certificate.  I have been using SOAPSonar to do my test up to this point.  But the version I have will not allow me to test with a certificate.  It appears I will need to purchase the software upgrade in order to test with a certificate. 
    Must I use this software or is there another method/software I can use to do this testing?
    Can Altova's XMLSpy test with a X509 certificate?
    Thanks,
    Matt

    Neetesh,
    It looks like SOAPUI will work.  I am currently looking into it. 
    Ravi - I'm not sure what software these steps are refering to?  Is that for XMLSpy?
    Thanks,
    Matt
    Edited by: Matthew Herbert on Dec 2, 2009 8:56 PM

  • Securing Services with OWSM 10g gateway

    Hi
    I have a small issue with an application we are trying to secure with the Oracle SOA suite 10g Gateway.
    We have 2 application servers which we are trying to configure in a HA configuration.
    We have several internal services that are used within our ocre application and 2 services we wish to expose to the outside world.
    We initially wanted to expose these through the OWSM gateway but seem to have problems stopping external users from invoking internal services.
    We have the BPEL, ESB, WSM Monitor, Manager, Rules installed on one oracle home and the owsm gateway and policy manager installed on a seperate Oracle home. The OHS is installed on the same machine with 2 virtual hosts with different ports externalSOA:7777 and internalSOA:8888
    We have configured the OHS to filter out certain urls for the externalSOA VH such as /em, /esb_dt, /ccore which seems to work.
    However services deployed into internalSOA:8888 are still invokable but externalSOA:7777/servicename
    does anyone have a better solution or some ideas as to what we are doing wrong?
    Regards

    Yes, true,
    I was assuming a firewall protecting internal zone is part of DMZ setup, and infrastructure is on 10g, and owsm gateway, according to initial poster.
    Protecting the internal URL, only allowing gateway requests to pass through would require the requesthandler (service URL) to look into the request.
    What we did was to let the owsm gateway do the authentication/authorization, and adding a policy step to "insert SAML".
    So the client request contains a valid username/password to be authenticated towards LDAP. After authZ an additional SAML header is added, containing a magic token known only to owsm gateway, and internal requesthandler, processing the service URL request.
    If the request did not pass through gateway it will not contain the saml magic token, and thus be rejected by requesthandler.
    11g has some improvements when it comes to protection using agents, but as long as the weaknesses are not covered (lack of gw-functionality) it would be wise to handle this in current infrastructure.
    Suggesting a switch to 11g infrastructure to solve his issue is a bit over the top., switching the entire SOA infrastructure is not something done overnight.

  • How to build an OData Service with Gateway Service Builder (NO DDIC, BOR import)

    Hi Community,
    I hope to get an answer here to finish my project. I´m a newbie to the sap gateway service builder. Please provide me a helping hand.
    I have a problem I´m sure someone out there can help me.
    I need to create an sap ui app, which is monitoring our database behaviour (->transaction st06) is there someone who knows how to build a OData Channel with sap gateway service builder without importing a BOR- Object, or a DDIC?
    Or how to build an OData channel which exposes the database (monitoring) data from ST06?
    I would really appreciate if someone could help me.
    THANKS!
    JOE

    Hello Joe,
    If u do not want to import any Structure or BOR- Object, u can follow below steps :
    1. Create ur data model by adding the properties manually in SAP GW service builder with correct Edm    types.Doing this would be pain in my opinion ( sometimes we are forced to do this but no other option    doing this way )
       Create associations & navigation needed. 
    2. U can generate run-time objects.
    3. Go to appropriate classes and implement methods with ur Business Logic.
    4. Register ur service & consume.
    U can also import RFC to create data model and create mapping as per required by implementing correct method as well.
    once u do this generate objects and register service and consume it.
    Check this out for ur info :
    Detailed step by step procedure for Creating Gateway Service with all the CRUD Operations and testing them in Service Explorer Part1 
    Regards,
    Ashwin

  • Looking for software or a service with which I can create a personalized photo calendar

    I am looking for software or a service with which I can create a personalized photo calendar. Any recommendations?
    Jerry

    Thanks for the reply.
    iPhoto, unfortunately, has some real problems in my opinion. Control over image placement and size is limited. This is compounded by the fact that Apple has not made the job any easier by refusing to publish information such as recommended aspect ratios and pixel sizes of images used to create a calendar. Obviously, these both change as the page layouts change. But, I don't think it is too much to ask that Apple supply image aspect ratios for each frame size, 2:3, 3:4, 1:1, or something else. What pixel sizes are required for each frame size/aspect? It is impossible to place 2 photos (or 1 photo and a name) on one date should 2 birthdays fall on one day.
    Further, there is no recommendation for color space to be used by the printer.
    I am tired of trying out a photo in the calendar only to find it looks bad at the pixel size and aspect I chose, then have to go back to the original, re-crop, resize, and wrestle with bringing it back to iPhoto. (I use Aperture to organize my images.)
    I must also add that I had a very bad experience with an iPhoto book earlier this year. Don't know if Apple has fixed the problems as I refuse to invest another 20 hours of time and more then $150.00 to find out.
    I am seriously looking for something to replace iPhoto (unless changes are made) to do the 10 or 15 calendars for my family again this year (and possibly redo my book).
    Jerry

  • Gateway service with multiple entity sets

    Hi,
    I have designed a Gateway service with 3 entities, and 3 entity sets.Entity sets are not related one to another. This entity sets correspond to static data stored in 3 different custom table in SAP. The aim of this service is to provide static data (but customizable on the backend) for drop down lists on a SAP UI5 application consuming Gateway services.
    I am wondering if it is possible through a single read operation, to retrieve all entity sets. Since the service URL to get data related to one entity set is /sap/opu/odata/sap/ZTEST_SERVICE_SRV/EntitySet, how should I process if I want to retrieve all 3 entity sets ? Is it something possible or do we have to call each entity set at once ?
    Thanks in advance for your help.
    Thibault

    Hi Krishna,
    I'd try and avoid a construct like this because I don't think it's very compliant or discoverable - you have to know how to access it. That's maybe acceptable for "internal" services, but really, we should try and use the protocol instead of introducing so many workarounds.
    It seems that the simplicity of OData on some levels makes people think they have got the wrong answer. It can get complex but something like a value list is pretty basic and shouldn't be subject to loads of different interpretations.   
    Batching GET's on the entities or using a grouping entity as per Andre's suggestion is what I'd be thinking of doing. I know that the former is used by some Fiori applications.
    Regards
    Ron.

  • Business process bpmn implementation with services in uddi

    Dear everyone,
    could anyone provide me the link to the tutorial of implemenation bpmn with service in uddi?
    I don't know how can i call a service, and how i implement a service in bpmn process with jdeveloper.
    many thanks in advance,
    sophea

    Hi Sophea,
    You can use service activity to invoke the service.
    For exposing the BPM process as service, you can use message start activities (Receive) and service activity (Reply) to implement synchronous pattern.
    Please refer Oracle&amp;reg; Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management 11g Release 1…
    Hope it helps.
    Thanks

  • Create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse

    Hi,
    I followed the amazing SAPUI5 blog :
    How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse
    I was able to resolve all errors mentioned in this blog but then i get another error :
    Uncaught TypeError: Cannot read property 'dataServices' of undefined
    Any idea what is the problem.
    Thanks a lot!
    Amina

    Hi,
    I followed the amazing SAPUI5 blog :
    How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse
    I was able to resolve all errors mentioned in this blog but then i get another error :
    Uncaught TypeError: Cannot read property 'dataServices' of undefined
    Any idea what is the problem.
    Thanks a lot!
    Amina

  • Sr. Test Engineer with CLD Looking for Employment in Bowling Green KY/Nashville TN

    I am a Sr. Test Engineer in Bowling Green KY looking for employment. I am a Certified LabVIEW developer, one of the few in KY/TN.
    For more information, please see my attached resume.
    I am not looking to relocate at this time.
    Thanks,
    Marcus
    Attachments:
    Marcus Anderson Public Resume.pdf ‏76 KB

    HI i have relevent experince in Labview PFA its my updated resume.forther details contact me at 8522950759
    Attachments:
    4751386.doc ‏41 KB
    4751386.doc ‏41 KB

  • Error while trying to publish a web service in UDDI client

    hi
      i m getting this error when trying to publish my web service in UDDI client.I have
    configured my uddi client using Visual Administrator.I created a  local test registry.The name of my  registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
    The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
    In my alert window it displays error: 'ur_txt' is undefined.
    Regards
    mythri.

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Cross Domain error for Silverlight + MVC application with self hosted WCF service on azure

    Hi,
    We are migrating existing Silverlight application to MVC; existing Silverlight application is hosted on
    Azure which is consuming self-hosted WCF service. For authentication we have implemented
    ADFS with WIF (passive). The cloud service (<myWebSite>.cloudapp.net) is C Name to (<myWebSite>.<myDomain>.com) and we 
    are consuming  WCF service at <myWebSite>.cloudapp.net/<myService>.svc, as we were getting “Cross Domain” error so we have added “clientaccesspolicy.xml” at the root of “WEB ROLE”.
    Existing Silverlight application works fine but the problem occurred when we deploy our migrated application to the same cloud service. We are getting a “Cross Domain” error.
    The same migrated application works fine on UAT environment, the only difference is UAT environment is
    without ADFS WIF implementation.
    Migrated application is half Silverlight and half MVC with initial landing page is Silverlight. MVC web role is used to host the service i.e. .SVC . To go to SL landing page , redirected from home controller. Following is being observed in fiddler for this
    application
    Existing Silverlight application -
    After authentication with ADFS it redirect to Silverlight landing page.
    Before calling service method it looks for “clientaccesspolicy.xml”
    In response header we are getting the content of “clientaccesspolicy.xml”
    And after this everything works fine
    Migrated Silverlight-MVC application –
    After authentication with ADFS it redirects to “HomeController” and from there we are redirecting to Silverlight landing page.
    Before calling service method it looks for “clientaccesspolicy.xml”
    In response header we are getting  following content - “https://federation-sts.<myDomain>.com/adfs/ls/?wa=wsignin1.0&amp;
    wtrealm=https%3a%2f%2f<myWebSite>.<myDomain>.com&amp;
    wctx=rm%3d0%26id%3dpassive%26ru%3d%252fclientaccesspolicy.xml&amp;wct=2014-03-17T10%3a36%3a04Z”
    4.Throw “Cross Domain” error.
    Also we have added filter in
    RouteConfig
    for .xml file
    routes.IgnoreRoute("{*allxml}",
    new { allxml = @".*\.xml(/.*)?" });
    NOTE: There is no configuration change apart from MVC configuration.
    We have done RDP to web role and found that “clientaccesspiolicy.xml” is present at “E:\approot” location and it is also accessible at “https://<myWebSite>.<myDomain>.com/clientaccesspolicy.xml”.
    Please help
    Thanks,
    Rahul P

    Hi,
    Please try to configure the cross domain policy file to allow public read access (that is, access it without federation requirement), make sure you can access the address
    http://something/clientaccesspiolicy.xml directly in a browser
    without redirecting to check whether the cross domain policy file could be anonymous accessed (Please start a new browser session and make sure you're
    not logged in. Then test the cross domain policy file.).
    Best Regards,
    Ming Xu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create web services with complex objects as parameters

    Hi,
    Not sure if this is the right place, but...
    I'm using Netbeans 5.5 and trying to learn web services.
    Creating a simple web service with simple parameters like strings and integers is nice and easy. I'm now trying to take the next step, and create a web service with a more complex schema as a parameter.
    I've tried two approaches, and hit dead ends on both:
    (1) Define my complex schema as an xsd file, and then create a WSDL file. Creating the schema and saving it in my EFB project works fine; when I try to create a new WSDL file, the IDE gives me a button to import external schemas - which is where the problem is: the Browse simply won't find my newly created schema file.
    (2) Define a Java class (in this case, it's a fairly simple example containing a single ArrayList), and then use the IDE to generate a web service from Java. The IDE does this fine, but I now have no idea how to consume or test the web service - I don't know where to look for the WSDL that has presumably been generated, and I'm also a bit iffy over what answers to give the WSDL creator about port names etc.
    Ideally, I'd prefer to get approach 1 to work - can someone point me in the direction of a sensible tutorial for these things?
    (Happy to carry on using Netbeans 5.5 or to revert to Sun Studio Enterprise, which I was playing with before.)
    All help appreciated, Thanks

    - For NetBeans related questions, nbusers mailing list is more suited. It is often visited by NetBeans experts.
    http://www.netbeans.org/community/lists/top.html
    ...[email protected]
    The NetBeans users mailing list. General discussion of NetBeans use, this is the place to ask for help and to help others.... (There is a 'Subscribe' button next to the above that you can use to subscribe to the list).
    Can you try posting this question on nbusers list?
    - SJSE 8.1 is based on an older version of NB (NB5.0).
    You should definitely continue with NetBeans, since all development is now being done in NetBeans; all the major JSE modules have been moved to opensource at netbeans.org and are all being developed there. There are as yet no future plans to work on further releases for JSE.
    Please check out http://www.netbeans.org for more details.

  • Monitor an Apache service with Solution Monitoring

    Dear all,
    We are using Solution Monitoring and the Service Level Reporting and now I'd like to monitor an Apache Service to see its uptime.
    I tried to create a GRMG scenario for this, however I noticed that a GRMG scenario always requires a port number in the URL.
    Does anybody of you know if it is possible:
         1) to monitor an Apache Service with Solution Monitoring (TA DSWP)
         2) to make it part of the Service Level reporting
         3) any other technology to make the uptime of an Apache Service part of the Service Level Reporting
    Thanks a lot in advance for your help!
    It is highly appreciated...
    Best regards,
    Roel

    Hello Joe,
    If u do not want to import any Structure or BOR- Object, u can follow below steps :
    1. Create ur data model by adding the properties manually in SAP GW service builder with correct Edm    types.Doing this would be pain in my opinion ( sometimes we are forced to do this but no other option    doing this way )
       Create associations & navigation needed. 
    2. U can generate run-time objects.
    3. Go to appropriate classes and implement methods with ur Business Logic.
    4. Register ur service & consume.
    U can also import RFC to create data model and create mapping as per required by implementing correct method as well.
    once u do this generate objects and register service and consume it.
    Check this out for ur info :
    Detailed step by step procedure for Creating Gateway Service with all the CRUD Operations and testing them in Service Explorer Part1 
    Regards,
    Ashwin

  • Making SOAP calls to a 3rd party Web service with PeopleCode

    Hi everyone :) I'm new to PS and have two questions (the first is most important):
    1. Are there any good resources for using PeopleCode to make SOAP (or even GET/POST) requests to Web services hosted outside a PS environment? I found [this page|http://www.zutshigroup.com/site/tech/peoplesoft_soap_example], but it doesn't appear to connect to a remote WSDL.
    2. How does development work, exactly? I'm used to the standard web languages where you launch a local dev server like IIS, launch an IDE, build code, and view the output in a browser. Does the PS model work like this?
    I am a developer for a company who offers Web services and am soon going to be remotely connecting to another company's PS dev environment to develop some sample code for them that integrates our services with their PS. I have no experience with the platform and due to the complexity of the PS installation won't be able to try it out before I begin developing. I would like to get as good a feel for this platform as I can before the meeting.
    I appreciate any information you can give me on sample code resources, workflow concepts, etc, but my question is primarily about SOAP requests. I can research the rest.
    Thank you!
    Edited by: user10655996 on Nov 26, 2008 3:09 PM

    Hi,
    Not sure if that App Package is available in versions below 9. But, I think it should be available since PS internally does use the same App Class for integrating with Tax softwares like Vertex and Taxware. Also that example is used when one does not want to make use of any IB Objects...
    You can definitely go ahead and make use of Standard IB Objects to Consume and Provide a Web Service in PS...
    Would like to know, if PS is the Consumer or the Provider?
    If PS is the Consumer then you can have a look at the code below ...
    import PT_IB_UDDI:UDDIException;
    class XMETHODS
    method XMETHODS();
    method AssignConnInfo();
    method IBInfoMethods();
    method IBInfoIBConnectorMethods();
    method WriteRequest(&ReqXML As XmlDoc);
    method WriteResponse(&ResXML As XmlDoc);
         * Helper function to throw appropriate exeception whenever ConnectorRequest returns null response.
    method HandleNullSoapResponse(&soapMs As XmlDoc, &ul As string);
    method HandleSoapFault(&soapReq As XmlDoc, &soapFaultNode As XmlNode);
    method CreateSOAPDocument();
    property Message req;
    property Message res;
    property boolean b;
    property string url;
    property string UserName;
    property string Str_Process;
    property string Str_TransID;
    property string Str_SourceNode;
    property string Str_ReqNodeName;
    property string Str_ReqNodeDescr;
    property string Str_ConnectorClass;
    property string Str_ConnectorName;
    property string Str_PathInfo;
    private
    rem Constant &NULL_SOAP_RESPONSE = 15301;
    Constant &NULL_SOAP_RESPONSE = 16022;
    Constant &BAD_RESPONSE_STATUS = 15303;
    Constant &NON_XML_RESPONSE = 15304;
    end-class;
    /* Constructor */
    method XMETHODS
    %This.CreateSOAPDocument();
    end-method;
    method IBInfoMethods
    &UserName = &req.IBInfo.OrigUser;
    &Str_Process = &req.IBInfo.OrigProcess;
    &Str_TransID = &req.IBInfo.TransactionID;
    &Str_SourceNode = &req.IBInfo.SourceNode;
    &Str_ReqNodeName = &req.IBInfo.RequestingNodeName;
    rem &Str_ReqNodeDescr = &req.IBInfo.RequestingNodeDescription;
    end-method;
    method IBInfoIBConnectorMethods
    &Str_ConnectorClass = &req.IBInfo.IBConnectorInfo.ConnectorClassName;
    &Str_ConnectorName = &req.IBInfo.IBConnectorInfo.ConnectorName;
    &Str_PathInfo = &req.IBInfo.IBConnectorInfo.PathInfo;
    end-method;
    method WriteRequest
    /+ &ReqXML as XmlDoc +/
    Local File &ppfile1 = GetFile("C:\temp\XMETHODS_SOAP_" | %Datetime | ".out", "W", %FilePath_Absolute);
    &ppfile1.WriteString(&ReqXML.GenFormattedXmlString());
    &ppfile1.Close();
    end-method;
    method WriteResponse
    /+ &ResXML as XmlDoc +/
    Local File &ppfile = GetFile("C:\temp\XMETHODS_MESSAGE_" | %Datetime | ".out", "W", %FilePath_Absolute);
    &ppfile.WriteString(&xml.GenFormattedXmlString());
    &ppfile.Close();
    end-method;
    method HandleNullSoapResponse
    /+ &soapMs as XmlDoc, +/
    /+ &ul as String +/
    Local PT_IB_UDDI:UDDIException &ex = create PT_IB_UDDI:UDDIException(&NULL_SOAP_RESPONSE);
    &ex.DefaultText = "There is no reply from the Web server hosting the Web Service at '%1'.";
    &ex.SetSubstitution(1, &ul);
    &ex.SoapRequest = &soapMs.GenFormattedXmlString();
    throw &ex;
    end-method;
    method HandleSoapFault
    /+ &soapReq as XmlDoc, +/
    /+ &soapFaultNode as XmlNode +/
    Local PT_IB_UDDI:UDDIException &ex = create PT_IB_UDDI:UDDIException(0);
    &ex.SoapRequest = &soapReq.GenFormattedXmlString();
    &ex.InitFromSoapFault(&soapFaultNode);
    throw &ex;
    end-method;
    method AssignConnInfo
    &req.IBInfo.IBConnectorInfo.ConnectorClassName = "HttpTargetConnector";
    /* Specifies OutBound Request */
    &b = &req.IBInfo.IBConnectorInfo.AddConnectorProperties("Method", "POST", %HttpProperty);
    &b = &req.IBInfo.IBConnectorInfo.AddConnectorProperties("Content-Type", "text/xml", %Header);
    &b = &req.IBInfo.IBConnectorInfo.AddConnectorProperties("SOAPUpContent", "Y", %HttpProperty);
    &b = &req.IBInfo.IBConnectorInfo.AddConnectorProperties("Authorization", "Basic cHJhc2hhbnQ6cHJha2FzaA==", %Header);
    /* End Point */
    &url = "http://webservices.daelab.net/datesservice/datesservice.wso";
    rem &url = GetURL(URL.XMETHODS_MONTH);
    &b = &req.IBInfo.IBConnectorInfo.AddConnectorProperties("URL", &url, %HttpProperty);
    end-method;
    method CreateSOAPDocument
    REMARK ENDPOINT = "http://webservices.daelab.net/datesservice/datesservice.wso";
    rem Local Message &req, &res;
    Local SOAPDoc &soap;
    Local XmlDoc &xml;
    rem Local boolean &b;
    Local integer &i;
    Local XmlNode &node;
    Local number &num;
    rem Local string &UserName;
    rem Local string &Str_Process, &Str_SourceNode, &Str_ReqNodeName;
    rem Local string &Str_ConnectorClass, &Str_ConnectorName;
    rem Local string &Str_PathInfo;
    Local array of XmlNode &nodes;
    &req = CreateMessage(Operation.XMETHODS, %IntBroker_Request);
    &soap = CreateSOAPDoc();
    /* set the Month Number */
    &num = Z_EXAMPLE_WRK.ACCESS_ID.Value;
    If &num <= 0 Or
    None(&num) Or
    &num >= 13 Then
    &num = 1;
    End-If;
    Local string &soapstr = GetHTMLText(HTML.XMETHODS, &num); /* SOAP 1.1 */
    rem Local string &soapstr = GetHTMLText(HTML.XMETHODS_12, &num); /* SOAP 1.2 */
    Local boolean &bool = &soap.ParseXmlString(&soapstr);
    &xml = &soap.XmlDoc;
    * Test Whether we can send a PSNONXML format for SOAP Requests - AND YES WE CAN SEND THAT
    Local string &encoded = Substitute(&xml.GenXmlString(), "<?xml version=""1.0""?>", "<?xml version=""1.0"" encoding=""UTF-8""?>");
    /* Encode the XML as a PSNONXML String and create the XML again */
    Local string &nonXmlData = "<?xml version=""1.0""?><data psnonxml=""yes""><![CDATA[" | &encoded | "]]></data>";
    rem %This.WriteRequest(&xml);
    /* Assign the Request to a Page Field */
    Z_EXAMPLE_WRK.XML_TESTI.Value = &xml.GenFormattedXmlString();
    /* Assign Connector and relevant Properties */
    %This.AssignConnInfo();
    /* Assign the XML Object to a Message Object */
    &xml = CreateXmlDoc(&nonXmlData);
    rem Z_EXAMPLE_WRK.XML_TESTI.Value = &xml.GenFormattedXmlString();
    rem %This.WriteRequest(&xml);
    &req.SetXmlDoc(&xml);
    /*IBInfo Methods */
    %This.IBInfoMethods();
    /* IBConnectorInfo Methods */
    %This.IBInfoIBConnectorMethods();
    rem &res = CreateMessage(Operation.XMETHODS_RESP, %IntBroker_Response);
    &res = %IntBroker.ConnectorRequest(&req);
    /* Additional Error Handling */
    If &res = Null Then /* Throw exception */
    %This.HandleNullSoapResponse(&xml, &url);
    End-If;
    /* Check for soap faults */
    &xml = &res.GetXmlDoc();
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Body>
              <soap:Fault>
    If &xml <> Null Then
    Local array of XmlNode &faultNodes = &xml.DocumentElement.GetElementsByTagNameNS("http://schemas.xmlsoap.org/soap/envelope/", "Fault");
    If &faultNodes <> Null And
    &faultNodes.Len > 0 Then
    %This.HandleSoapFault(&xml, &faultNodes [1]);
    End-If;
    End-If;
    /* Check response Status */
    If &res.ResponseStatus <> 0 Then
    Local PT_IB_UDDI:UDDIException &ex1 = create PT_IB_UDDI:UDDIException(&BAD_RESPONSE_STATUS);
    &ex1.SetSubstitution(1, NumberToString("", &res.ResponseStatus));
    &ex1.SoapRequest = &xml.GenFormattedXmlString();
    throw &ex1;
    End-If;
    If &xml = Null Then
    /* Some error in returned object. Does not look like valid Xml */
    Local PT_IB_UDDI:UDDIException &ex2 = create PT_IB_UDDI:UDDIException(&NON_XML_RESPONSE);
    &ex2.SoapRequest = &xml.GenFormattedXmlString();
    throw &ex2;
    End-If;
    /* retrieve the response */
    &xml = &res.GetXmlDoc();
    Z_EXAMPLE_WRK.XMLLINKDTD.Value = &xml.GenFormattedXmlString();
    %This.WriteResponse(&xml);
    end-method;
    Thanks
    Prashant

Maybe you are looking for

  • Sample transparent color issue CS4

    If anyone can help I would really like to know how I can sample a transparent color.  I'm not talking about sampling the opaque original but the resulting color of the transparency on top.  Holding shift with the eyedropper only selects the original

  • P67A-C43 B2 Constant reboot when memory in DIMM1

      I just built a barebones kit consisting of: MB: P67A-C43 B2 PSU: Thermaltake TR2 RX 750W Bronze Proc: Core I7-2600 (unlocked) Mem: (2) 2x4 GB Corsair Vengeance DDR-1600 (16 GB) 9-9-9-24 Cool: Corsair H60 Hydro Vid: EVGA GTX 550 Ti HD1: OCZ SSD 120

  • Package for creating Parameter id

    Hello Friends , I am creating a parameter id for my dialog program using SM30 . Usually I use a z package . It is asking to use an SAP Package . What SAP package should I use to save the parameter id ? Thanks ,

  • An unknown error occurred. You may be able to continue without problems

    iMovie 6 continues to crash for me. I am receiving this error: An unknown error occurred. You may be able to continue without problems. I have restarted, deleted prefs, Repaired permissions. I am running latest Leopard OS (10.5.3). Any one experienci

  • Installing FrontRow on MacBook Pro

    Reformatted MacBook Pro (always do on a new computer, to save disk space, by not installing all the languages, printers etc). Except FrontRow did not install? Where do I find it to install in from the 2 installer disks.