WebService action in BLS

I exposed a BLS transaction using
http://<server:port>/XMII/WSDLGen/<transaction name>.
Is it possible to communicate with this transaction through a WebService action  block in another transaction.?
I have successfully used the WebService action block to communicate with a Java WebService hosted in axis2 environment.
Please help
Thanks and Regards,
Rajath

Thanks Michael
I have a simple transaction which writes a file in to some location. I exposed this transaction using WSDLGen. And configured a BLS WebService action using the above URI in another transaction.
When i executed the second transaction, i got an error : "Error invoking WebServer Action:null".
I have given the sufficient security permissions to both the transactions and had also give the login credentials with admin privilege. What could be wrong???
Any help?
regards,
Rajath

Similar Messages

  • Define the WebService action URL as a parameter

    Hi there,
    I would like to ask a question related to the use of the WebService action block.
    I've been using this action with no major issues, but would like to set the WSDL URL to be defined by a parameter. It could be in the shared memory, in the global properties, or somewhere else that is centralized. I've done some testing on  this, but had no success...
    Every real world project will have at least three different environments (DEV, QA and PRD), each with different settings for the web services that it must connect to, so I believe that a lot of people have dealt with this kind of problem.
    Please give me your insight on how to do that.
    I'm hoping not to get the answer: go to each action block and change the URL manually....
    Thanks!

    Sorry Jamie,
    which is exactly the action parameter to which i can link dinamically different soap address?
    I'm using 12.0.11 build (21) and I can see in the action these parameters:
    WSDLBaseUrl
    WSDLURL
    Username
    Password ecc..
    Should I pass the link to the WSDL or what?
    For example I have 3 web services on different machine (web services are identical), only deployed in different machines
    Should I pass to WSDLBaseUrl, after importing the structure
    "http://hostname:port/SapImport/WebService.asmx?WSDL"
    or something else?
    Thanks
    Mauro

  • Unable to load webservice using webservice action block

    Hi,
    I am trying to call a webservice using xMII 11.5 .My webservice url is http://machinename/Test/Service1.asmx?wsdl.This webservice is invoked using internetexplorer.When I try to configure this using webservice action block I am getting the error message stating "SOAP service could not be loaded.White spaces are required between public id and system id".
    Can anyone help me on this issue.

    Hi,
    You go through the following threads:
    https://forums.sdn.sap.com/click.jspa?searchID=14545521&messageID=5310227
    https://forums.sdn.sap.com/click.jspa?searchID=14545521&messageID=5765282
    https://forums.sdn.sap.com/click.jspa?searchID=14545521&messageID=5803591
    Hope this will help you.
    Thanks,
    Manisha

  • Using Calculation Action in BLS Transaction

    I'm trying to pass the values of two tags in a tag query into a calculation action in a BLS transaction and add the two values together.  I'm linking the action result property to the expression that does the calculation.  When I click on the 'Evaluate' button in the link editor I get the correct result but the action result itself is always zero and zero gets passed into my next action block.  Any ideas?  (I'm using xMII 11.5 SP3)

    Thanks, Jeremy.  The variables coming out of my tag query are doubles.  I'm not sure how to tell what the data type of the calculation "result" variable is.
    My result variable for each calculation always seemed to be zero (I mean I would hover my mouse pointer over "result" and I'd see a zero).  I decided to write my results out to a text file and it looked OK so I'm not sure why I was seeing zeroes in the link editor.
    In any event, my output from the transaction seems to be OK so I'm ready to declare success and move on.
    David

  • Reg PDF Action in BLS

    Hi All,
    I am using a query which retrieves records and sends it into a pdf document.In the PDF document so generated i am getting Query column names only in first page.I would like to have it in all pages of the PDF document. Please help me at the earliest.
    Thanks and regards,
    Ravi Kumar

    Unfortunately, you'll need to do the "splitting" in BLS logic, with a repeater action.
    1) Create your PDF document action.
    2) Create an "empty" xMII document identical to your query results, but with no rows (you can do this by copying the entire document and then deleting the Rows, or by other techniques).
    3) Loop through each record in your query using a repeater and append the row to your empty document.  When your desired per-page rowcount has been achieved (using a Local variable as a counter), add a PDFTable to the PDFDocument, then clear/empty the xMII document.
    I hope this gives you the start of an idea for managing this situation.  I prototyped a few new actions that use the PDF rendering engine in WebAS and allow you to use the Adobe PDF forms designer for building reports.  The xMII team is looking at potentially adding them to the product or providing them as "freeware" here on SDN.
    Best regards,
    Rick

  • SharePoint Workflow : Call HTTP Webservice action throwing Forbidden Error

    Hi,
    I have configured workflow which takes value from one workflow variable and opens another List and creates a List item.
    I used these as reference:
    http://mysharepointinsight.blogspot.in/2013/05/using-sharepoint-rest-services-from.html
    and
    https://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/
    Below is the call HTTP action.
    Call https://skmsppd.accenture.com/NorthEu... HTTP web service with Variable: POST_Parameters (ResponseContent to response |ResponseHeaders to responseHeaders |ResponseStatusCode to Variable: POST_ResponseCode
    While creating Header dictionary, I added a key "Authorization" and value was left blank. 
    But when execute workflow, new item is not getting created and getting Response code as "Forbidden"
    Below is the Workflow History I get:
    I want to insert Test 13 to the destination List. But its not working. Please let me know what I need to do? 
    Regards, Shreyas R S

    Hi.
    Why don't you  use the "Create Item" action?
    The list on wich you want to create this item is in the same site collection in wich your wf is running?
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • WebService Action Block Return Type

    Hi ,
       I would like to know on xMII 11.5 RC2 if the Webservice can only return
       it's XML data in a standard Iluminator Row Set structure or is there a way
       that one can get the return XML in a cutom format i.e.
        <ROOT>
              <MYDATA>blah blah</MYDATA>
        <ROOT>
    Regards

    On xMII XML format via the WebService (WSDLGen) mechanism, but you can return any xMII XML format via the Runner mechanism.
    URL is something like: /Lighthammer/Runner?Transaction=YourTransaction&OutputParameter=DesiredXMLOutputParameter
    There are more complex techniques that can be used to have xMII emulate any webservice with any inputs and outputs, but those involve creation of custom WSDL files and are probably a bit lengthy for an SDN post.
    - Rick
    Message was edited by:
            Rick Bullotta

  • Error calling BLS Transaction as Web service

    Hi,
    I am trying to call BLS tranx as Webservice from another BLS Tranx.
    I craeted the simple BLS with no input parameter and set only one output parameter.
    Then i created the WSDL as
    http://<server:port>/XMII/WSDLGen/<Transaction path>.
    In new BLS tranx, i created the Web Service action block and gave this WSDL URL (http://<server:port>/XMII/WSDLGen/<Transaction path>).
    I gave username and password and selected the port(XacuteWSSoap) and then operation( xacute).
    In Links, I gave the Loginname and Password.
    But while executing, it showed the error as
    Error Invoking Web Service Action: Status (401): Unauthorized
    My username and Loginname and passwords are correct only.
    What is the problem and how to solve it.
    Regards,
    Senthil

    Hi,
    Which SAP MII version you are using?
    I have tested one piece in MII 12.0.9 it works for me following are steps which i followed.
    After WSDL generation
    1. in Web service action block --> cofigure i am passing following parameters
    WSDL base URL:  http://<server:port>/XMII/WSDLGen/<transaction Path>
    User Name: XXX
    Password: XXX
    2. in Web service action block --> Links I am passing following parameters
    WSDLUrl : http://<server:port>/XMII/WSDLGen/<transaction Path>
    Web_Service_0.XacuteRequest{/ns1:XacuteRequest/ns1:LoginName} : XXX
    Web_Service_0.XacuteRequest{/ns1:XacuteRequest/ns1:LoginPassword} : XXX
    Refer below SDN thread may be helpfull:
    [Web Service Action Block;
    Hope it helps!!
    Regards,
    Manoj Bilthare

  • Error Invoking Web Service Action: null

    I am using the WEBSERVICE action in the BLS to access a third party system.  I am getting an error during execution: [ERROR]: Error Invoking Web Service Action: null.  I cannot find any messages in any of the logs.  Even though the action fails, the remote WebService processes properly.  My basis guy seems to think that it is related to SOAP incompatibilities/versions.  Any other ideas floating around out there?  Any other methods to troubleshoot?  The external application uses Document-Literal Style web services and conforms to WS-I Basic Profile.

    All -
    Here is a trace.  My remote web service returns an empty SOAP body upon success (SOAP envelope only).  Is this causing the Null Pointer Exception??
    PS - I am also getting a lot of "WARNING: received an illegal cookie" messages.  Is this a problem.
    [Wed Mar 19 16:38:08 EDT 2008] <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope ...xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body> ...blah, blah...</soap:Body>
    </soap:Envelope>
    [Wed Mar 19 16:39:09 EDT 2008] java.lang.NullPointerException
    [Wed Mar 19 16:39:09 EDT 2008]      at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:590)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.Action.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Execute(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.services.Runner.doGet(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.cms.system.CMSFilter.doFilter(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Version
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2

  • Error Invoking Web Service Action: Status (500): null

    Hi forum
    I am getting an "Invoking Web Service Action: Status (500): null" error  when invoking a web service action block .  The BLS transaction used as a web service outputs a text string which I tested using an xacute query . while executing the transaction as a web service the tracer tells me that there is no output .
    Best regards,
    Antonio
    I am using an xMII 11.5 installation  .
    [INFO ]: Execution Started At: 04:17:46
    [DEBUG]: 00000.01600 Begin Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
    [DEBUG]: 00000.01600 Begin Sequence Sequence : ()
    [DEBUG]: 00000.01600 Begin Action WebService_0 : ()
    [ERROR]: Error Invoking Web Service Action: Status (500): null
    [ERROR]: ACTION FAILED: End Action WebService_0 : ()
    [DEBUG]: 00000.11000 Begin Sequence Sequence_0 : ()
    [DEBUG]: 00000.11000 Begin Action Tracer_0 : ()
    [INFO ]:
    [DEBUG]: 00000.11000 End Action Tracer_0 : ()
    [DEBUG]: 00000.11000 End Sequence Sequence_0 : ()
    [DEBUG]: 00000.11000 End Sequence Sequence : ()
    [DEBUG]: 00000.11000 End Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
    [INFO ]: Execution Completed At: 04:17:46 Elapsed Time was 94 mS

    Jamie,
    Yes Indeed, I was calling inside a web service action another BLS transaction .  Now ,  I am using a call to the transaction using the runner . It worked fine .
    Thanks,

  • Error when using Web service Action Block.

    Hi All
    I am calling recursive function in my transaction.Means same transaction i am calling inside a transaction.I have used the Webservice Action block to call the transaction.
    I have passed the parameters whatever is requied.
    But I am getting error when i am executing the transaction:
    "Error invoking Webservice Action: Status(500):Internal Server Error".
    Please suggest me on this.
    Thanks in advance.
    Regards,
    Manisha

    Hi Vishal
    This transaction is trying to achieve the recursive function.
    I want to call the same transaction within a transaction.So i have used WebService action block to call the transaction.
    I have passed the input parameters whatever required.I have given loginName and password as my server login name and password.But when i am executing the transaction, I am getting the following error:
    "Internal Server Error"
    If any idea please suugest me.
    Thanks,
    Manisha

  • XMII WebService shows error as - SOAP Service could not be loaded: null

    Dear Friends,
       I'm doing the xMII <-> XI <-> RFC scenario with the reference of the blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8703. [original link is broken] [original link is broken] [original link is broken] I just create an asyncronous scenario. Sender with SOAP adapter and receiver with RFC adapter. After creating the WSDL file from the scenario, I stored it in the xMII server path D:XISendere10099xMII_integration_1_Outbound_MI.wsdl. Then in the WebService action block of xMII BLT, I gave the URL as this file path, user name and password of XI server and click Next. Then I got the error message as SOAP Service could not be loaded: null.
       Please give the solution for this issue.
    Regards,
    Jagan.

    Dear Selvam,
       Actually I checked those things already. Everything is fine. I executed already HTTP <-> XI <-> xMII scenario and it was working fine. I checked with SendSMS.wsdl file now. That is also working fine. I am attaching the WSDL file, which I am using, for reference. This file is working fine in SOAPSonar and data posted in SAP R/3 table. But it is showing the error in xMII as "SOAP Service could not be loaded: null".
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="xMII_integration_1_Outbound_MI" targetNamespace="http://www.xxx.com/XIBatch3/10099/xMII_Integration_1" xmlns:p1="http://www.xxx.com/XIBatch3/10099/xMII_Integration_1" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:types><xsd:schema targetNamespace="http://www.xxx.com/XIBatch3/10099/xMII_Integration_1" xmlns="http://www.xxx.com/XIBatch3/10099/xMII_Integration_1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="xMII_integration_1_Outbound_MT" type="xMII_Integration_1_Out_DT" /><xsd:complexType name="xMII_Integration_1_Out_DT"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">750324e0438311ddad100019bb528b1e</xsd:appinfo></xsd:annotation><xsd:sequence><xsd:element name="Vendor" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">b24fc7d01b6611dd8de7001320eb83c5</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="Name" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">b24fc7d11b6611dd8b8e001320eb83c5</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="Street" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">b24fc7d21b6611ddcc29001320eb83c5</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="City" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">b24fc7d31b6611dd8303001320eb83c5</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="Dist" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">b24fc7d41b6611ddcd00001320eb83c5</xsd:appinfo></xsd:annotation></xsd:element><xsd:element name="Country" type="xsd:string"><xsd:annotation><xsd:appinfo source="http://sap.com/xi/TextID">b24fc7d51b6611dd9fa5001320eb83c5</xsd:appinfo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType></xsd:schema></wsdl:types><wsdl:message name="xMII_integration_1_Outbound_MT"><wsdl:part name="xMII_integration_1_Outbound_MT" element="p1:xMII_integration_1_Outbound_MT" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" /></wsdl:message><wsdl:portType name="xMII_integration_1_Outbound_MI"><wsdl:operation name="xMII_integration_1_Outbound_MI"><wsdl:input message="p1:xMII_integration_1_Outbound_MT" /></wsdl:operation></wsdl:portType><wsdl:binding name="xMII_integration_1_Outbound_MIBinding" type="p1:xMII_integration_1_Outbound_MI" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /><wsdl:operation name="xMII_integration_1_Outbound_MI"><soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /><wsdl:input><soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:input></wsdl:operation></wsdl:binding><wsdl:service name="xMII_integration_1_Outbound_MIService"><wsdl:port name="xMII_integration_1_Outbound_MIPort" binding="p1:xMII_integration_1_Outbound_MIBinding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><soap:address location="http://aprins07:8010/XISOAPAdapter/MessageServlet?channel=:A_Test:xMII_Integration_1_xMII_Sender_CC&version=3.0&Sender.Service=A_Test&Interface=http%3A%2F%2Fwww.xxx.com%2FXIBatch3%2F10099%2FxMII_Integration_1%5ExMII_integration_1_Outbound_MI" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:port></wsdl:service></wsdl:definitions>
    Regards,
    Jagan.

  • HTTP Post Action Block

    Greetings all,
    I am using a HTTP Post Action in BLS - Vs 11.5. 
    The objective is to return a HTTP string from a jsp page, so I can scrap the page. 
    The URL:  http://mospublic.ercot.com/ercot/jsp/balancing_services_mcp.jsp?marketdate=2008-06-16   (obviously you might have to change the date to Yesterdays Date)
    I have set up the HTTP Post Action with
    URL Address of:   http://mospublic.ercot.com/ercot/jsp/balancing_services_mcp.jsp
    Post Document:   marketdate=2008-06-16
    Encoding: UTF-8
    ID and Password are provided
    Content Type:   application/x-www-form-urlencoded
    Post_0.ReturnAsString comes back with typical HTML content for Today's Date.
    Testing has shown that on a fresh IE window.  Using the above url will show today's data. 
    Hitting this url again the second time will get the browser to yesterday's data.
    So any suggestions on how to make this happen. 
    (btw, I have no control over the external public ERCOT website so changing thier jsp page isn't an option.)
    Anyway we could emulate that action in BLS - v11.5?
    Thanks
    Dennis

    It's not working for me???
    Did that work for you?
    I have attached my sample... It's a repeater, a http Post and a tracer. 
    <?xml version="1.0" encoding="UTF-8"?>
    <Transaction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <TransactionAttributes>
              <ContextItem>
                   <Name>Description</Name>
                   <Description>Transaction Description</Description>
                   <MinRange>0</MinRange>
                   <MaxRange>0</MaxRange>
                   <Value xsi:type="xsd:string"/>
                   <ReadOnly>true</ReadOnly>
              </ContextItem>
         </TransactionAttributes>
         <Name>west_test/html Post Question</Name>
         <Version>1</Version>
         <WriterRoles/>
         <ReaderRoles/>
         <Context/>
         <Local/>
         <Layout>
              <GUILayoutItem>
                   <Name>Sequence</Name>
                   <X>8</X>
                   <Y>8</Y>
                   <Width>120</Width>
                   <SpacingWidth>120</SpacingWidth>
                   <DescendantWidth>120</DescendantWidth>
                   <Height>96</Height>
              </GUILayoutItem>
              <GUILayoutItem>
                   <Name>Post_0</Name>
                   <X>16</X>
                   <Y>24</Y>
                   <Width>104</Width>
                   <SpacingWidth>0</SpacingWidth>
                   <DescendantWidth>0</DescendantWidth>
                   <Height>72</Height>
              </GUILayoutItem>
              <GUILayoutItem>
                   <Name>Sequence_0</Name>
                   <X>8</X>
                   <Y>136</Y>
                   <Width>120</Width>
                   <SpacingWidth>120</SpacingWidth>
                   <DescendantWidth>0</DescendantWidth>
                   <Height>96</Height>
              </GUILayoutItem>
              <GUILayoutItem>
                   <Name>Tracer_0</Name>
                   <X>16</X>
                   <Y>152</Y>
                   <Width>104</Width>
                   <SpacingWidth>0</SpacingWidth>
                   <DescendantWidth>0</DescendantWidth>
                   <Height>72</Height>
              </GUILayoutItem>
         </Layout>
         <Actions>
              <ContextItem>
                   <Name>Post_0</Name>
                   <Description/>
                   <MinRange>0</MinRange>
                   <MaxRange>0</MaxRange>
                   <Value xsi:type="Post">
                        <URL>http://mospublic.ercot.com/ercot/jsp/balancing_services_mcp.jsp?marketdate=2008-06-18</URL>
                        <Encoding>UTF-8</Encoding>
                        <ContentType>text/html</ContentType>
                        <Timeout>60</Timeout>
                        <UserName>YOUSUPPLY</UserName>
                        <PostData/>
                        <UserPassword>YOUROWN</UserPassword>
                        <ReturnAsString/>
                        <ReturnAsXML>
                             <ReferenceDocumentSource/>
                        </ReturnAsXML>
                   </Value>
                   <ReadOnly>false</ReadOnly>
              </ContextItem>
              <ContextItem>
                   <Name>Tracer_0</Name>
                   <Description/>
                   <MinRange>0</MinRange>
                   <MaxRange>0</MaxRange>
                   <Value xsi:type="Tracer">
                        <Level>INFO</Level>
                        <Message/>
                   </Value>
                   <ReadOnly>false</ReadOnly>
              </ContextItem>
         </Actions>
         <Steps>
              <Step xsi:type="ActionSequence">
                   <Name>Sequence</Name>
                   <Description/>
                   <Steps>
                        <Step xsi:type="ActionSequence">
                             <Name>Sequence_0</Name>
                             <Description/>
                             <Steps/>
                             <Actions>
                                  <Action>
                                       <Name>Tracer_0</Name>
                                       <Description/>
                                       <IncomingLinks>
                                            <Assign xsi:type="Assign">
                                                 <Name/>
                                                 <Description/>
                                                 <To>Tracer_0.Message</To>
                                                 <From>Post_0.ReturnAsString</From>
                                            </Assign>
                                       </IncomingLinks>
                                       <OutgoingLinks/>
                                  </Action>
                             </Actions>
                        </Step>
                   </Steps>
                   <Actions>
                        <Action>
                             <Name>Post_0</Name>
                             <Description/>
                             <IncomingLinks>
                                  <Assign xsi:type="Assign">
                                       <Name/>
                                       <Description/>
                                       <To>Post_0.URL</To>
                                       <From>"http://mospublic.ercot.com/ercot/jsp/balancing_services_mcp.jsp?marketdate=" &amp; datefromxmlformat( datenow, "yyyy-MM-dd")"</From>
                                  </Assign>
                             </IncomingLinks>
                             <OutgoingLinks/>
                        </Action>
                   </Actions>
              </Step>
         </Steps>
    </Transaction>

  • Calling Enterprise Services through xMII Web Service action block

    Hi All,
    I'm calling some Enterprise Service through xMII Web Service action block.
    After providing URL and user credentials, I'm getting error "SOAP Service could not be loaded: The element type 'p' must be terminated by the matching end-tag '</p>'."
    Can anyone point out what might be the reason ?
    Thanks,
    Sumit

    If you haven't already, try using the browser from the xMII server machine rather than your own (client).
    The error that you recieve usually means that instead of a WSDL an HTML is being returned when you use the WebService action block.
    Possible reasons - as Jeremy pointed out - improper credentials or some error with the webservice itself.
    Another thing you can possibly try out - use some web service analyser to access the webservice . There's one that goes by the name StrikeIron which is a freeware.Pretty neat tool.

  • Getting a error invoking web service action  block

    HI
    I am first time using web service action block in xmii. I am using it for executing my transaction . But it is giving error stating that
    Error invoking web service action block. I dont know please help me out?

    Hi Mike,
    I am using xMII - 11.5 version and with java 1.6.0_07. In My system i have installed service pack 3. When ever i use webservice action block and execute it, It gives error stating .
    [INFO ]: Execution Started At: 11:07:16
    [DEBUG]: 00000.01600 Begin Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [DEBUG]: 00000.01600 Begin Sequence Sequence : ()
    [DEBUG]: 00000.01600 Begin Action WebService_0 : ()
    [ERROR]: Error Invoking Web Service Action: null
    [ERROR]: ACTION FAILED: End Action WebService_0 : ()
    [DEBUG]: 00001.42200 Begin Sequence Sequence_0 : ()
    [DEBUG]: 00001.42200 Begin Action Tracer_0 : ()
    [INFO ]: <?xml version="1.0" encoding="UTF-8"?><XacuteResponse xmlns="http://www.lighthammer.com/Xacute"><Rowsets DateCreated="2000-01-01T00:00:00" EndDate="2000-01-01T00:00:00" StartDate="2000-01-01T00:00:00" Version=""><FatalError/><Messages><Message/></Messages><Rowset><Columns><Column Description="" MaxRange="0.00" MinRange="0.00" Name="" SQLDataType="0" SourceColumn=""/></Columns><Row><Output/></Row></Rowset></Rowsets></XacuteResponse>
    [DEBUG]: 00001.43700 End Action Tracer_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence_0 : ()
    [DEBUG]: 00001.43700 End Sequence Sequence : ()
    [DEBUG]: 00001.43700 End Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
    [INFO ]: Execution Completed At: 11:07:17 Elapsed Time was 1421 mS
    please help me out .

Maybe you are looking for