BizTalk Published Web Service unable to consume, Token-Based Server access validation error

Hi, We have developed a BizTalk application and we have published as web service, but when we are trying to consume the application we are getting the an error and its logged
in event log.
While deploying we have allowed Anonymous user access for the web services as well.
Following are the errror details -
"Login failed for user 'IIS APPPOOL\ASP.NET v4.0 Classic'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <local machine>]"
I tried to change it other App pool as well. It seems an issue with permissions related to BizTalk user's/Group,
Please suggest which app pool should we select or should we give permissions to App Pools.

The User of App Pool should be part of "BizTalk Isolated Host Users Group".
In your case user is "IIS APPPOOL\ASP.NET v4.0 Classic", so either you add this user to BizTalk Isolated Host Users
Group or create a new App Pool with new user. I would suggest to go for new user specific to BizTalk.
This permission is required because IIS(App Pool(w3wp.exe)) will be publishing new messages to BizTalk Databases. So they should have required permissions to do that and in BizTalk we have a default group for the same, as suggested by Shankycheil.
BizTalk Isolated Host Users
The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP.
Use one BizTalk Isolated Host Group for each Isolated Host in your environment.
Contains service accounts for the BizTalk Isolated host instance in the host that the Isolated BizTalk Host Group is designated for.
BTS_HOST_USERS SQL Server Database Role in the following databases:
BizTalkMgmtDb
BizTalkMsgBoxDb
BizTalkRuleEngineDb
BizTalkDTADb
BAMPrimaryImport
Thanks,
Prashant
Please mark this post accordingly if it answers your query or is helpful.

Similar Messages

  • Token-based server access validation failed with an infrastructure error

    Hi
    We have a new Win 2008 Enterprise x64 server running SQL 2008
    When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
    "Token-based server access validation failed with an infrastructure error"
    What needs to be configured here for this to work ?
    Thanks
    Bruce

    Hi,
    I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
    Background
        1- An Active Directory (AD) account was created for a user [Domain\UserA]
        2- A SQL login was created for the account above and then granted access to a number of databases
        3- The AD account was renamed/modified to [Domain\UserB]
        At this stage the user would encounter an error when connecting to the server
        The sql log show this error message
        Error: 18456, Severity: 14, State: 11.
        Message
        Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.     [CLIENT: xxx]
    Action on Server 1 SQL (the one with the problem)
        1- Dropped the user from the databases
        2- Re-Created the login from the windows account [Domain\UserB]
        3- Created the user in the respective databases
        But the user still unable to connect to the server
    Investigation
        On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
        But it does not match the SID in the AD
        The rest of the servers all have the correct SIDs
        When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
        The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
    I can't specify the SID when creating the SQL login because it is using the Windows account
    Your ideas on how to fix this problem are much appreciated
    Regards,
    DGL

  • Failed Logins - Token Based Server Access Validation Failed

    Hi All-
    I am trying to track down, well for lack of a better word (an annoyance).  I have a VM running a proprietary utility (VMware update manager) that connects to a remote SQL VM.  This connection is via a service account that from the surface has the
    appropriate permissions.  The setup and utility has been in and is working as it should.  However in our logs we are constantly seeing.
    SQL Event Viewer - Login failed for DOMAIN/REMOTESERVERNAME$ Reason: Token-based server access validation failed with an infrastructure error.  Check for previous errors [CLIENT: REMOTEIP OF REMOTESERVERNAME]
    Then in the SQL Logs I am seeing the same error and also - ERROR 18546, Severity 14, State 11
    I have read dozens of threads - pointing to UAC.  I have elevated SSMS via UAC and allowed it to run as administrator.  Also ran as admin, and reapplied the permissions to that service account, db_owner
    What I have read is about AD/user account.  However in this case I am seeing the remote server name, not service account.  Got me thinking a service is running as network or local system, and phoning home to SQL.  However everything I see
    is using the service account for that utility.  Also in the event viewer in the security portion for that same time, I see the login and log off as successful.  Could anyone try to point me in the right direction, without flat out adding the servername
    to the local SQL VM administrators group.
    Thank you in advance for any assistance.

    Rather than adding the machine account to the admin group, you could do:
      GRANT CONNECT TO [Domain\Remoteservername$]
    And then you could set up a logon trigger that captures information about the login. That would include app_name() as well as the Windows process id. This could help you track exactly which process that is knocking on the door.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • Login failed for user 'domain\laptopid$'. Reason: Token-based server access validation failed with an infrastructure error

    This one has me banging my head against the wall ... Login fails once every second as long as my laptop is logged in (docked or VPN'd) ... Login attempts stop once machine is shut down ... It's a state 11 error ... We have 60+ sql servers (single nodes,
    virtuals, and clusters) and it's only happening on this one box that I have found so far ... What would be attempting a login using my laptop id? When I query ring buffers it says it's a call from NLShimImpersonate but I can't track it down ... We access servers
    via a windows group with sysadm permissions ...  

    No, your laptop is trying to log in. The account domain\laptopid$ is the machine account for your computer. This is a service that runs under Local System, Local Service, Network Service or a service SID.
    I have no idea what you have running on your laptop, but I would place my bets on IIS. But open the Services dialog in Manage Computer and stop once service at a time, until the errors go away.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Computer account error, token-based server access validation failed with an infrastructure error

    I see many issues regarding this error referencing user accounts but our error is generated from the computer account, "DOMAIN NAME\COMPUTER NAME$". They are created frequently. The error does not list a database so we are not sure what is going
    on or what it's trying to do. The computer account in question is a web sever. This is occurring on two separate SQL servers that the web server connects to.

    The error message often indicates a mismatch between the login in SQL Server and the AD. Dropping and readding the login in SQL Server helps in those cases.
    The error can also occur if the account lacks CONNECT SQL permission or CONNECT permission on the endpoint.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Publishing Web Services from NWDS in PI 7.4

    Dear All,
    We have a scenario where we publish a Web Service to be consumed by a 3rd party which in turn calls an ABAP proxy for an acknowledgement (Synchronous Call).
    I have followed the various bloggs and SCN discussion points and have published a Web Service to the Service Registry by generating a Java Bean Skeleton from the Service Interface in NWDS.
    I have generated an Integration Flow (simple Point to Point using a SOAP Sender and HTTP_AAE Receiver to the Proxy) and deployed it on the Integration Server. All OK at this point
    The problem I have is that when I try and test the deployed Service through WS Navigator, the Proxy isn't called and I get a blank Response from the Web Service call. We don't have the option to use a SOAP Test Client (like SOAP UI) due to security reasons.
    Could anyone give me some pointers as to why this isn't working.
    Thanks,
    Mark

    Hi Mark -
    Go to Integration Directory(swing client)-> open the corresponding ICo -> from the menu item (Integrated Configuration) -> select the option "Display Wsdl".
    Use that URL to test your web service.

  • Submitting xml using BI Publisher Web Services

    Hi,
    We are developing a web service wrapper around the BI Publisher web services and we are facing problems in consuming the BI Publisher web services.
    As per the scheduleReport method in the java class, it sends an xml data input to BI Publisher and the delivery is set to FTP. The report is not getting generated. The getScheduleReportStatus method returns an status of "Error"
    Earlier I had tried bursting the report to the same FTP server and it was working, the only problem was that it was not picking up the data from the xml which was being passed in the report request object.
    Then i reverted the code and used runReport instead of scheduleReport method. At that point of time, it started taking the xml file passed when i added the following line i.e. :
    repRequest.setSizeOfDataChunkDownload(-1);
    After this I again reverted back to scheduleReport method as our requirement needs a method which also handle bursting. Now neither of them are working (i.e FTP and input xml data).
    Code for the web service wrapper (around BI Publisher Web Service) is as follows :-
    =====================================================
    package biwebserviceproxy;
    import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.DeliveryRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.FTPDeliveryOption;
    import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.JobStatus;
    import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException_Exception;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportService;
    import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceService;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportRequest;
    import com.oracle.xmlns.oxp.service.publicreportservice.ReportResponse;
    import com.oracle.xmlns.oxp.service.publicreportservice.ScheduleRequest;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.ResourceBundle;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.xml.bind.annotation.XmlSeeAlso;
    import org.apache.commons.io.FileUtils;
    import org.apache.log4j.Logger;
    @WebService
    public class BIWebServiceProxy {
    private static Logger logger = Logger.getLogger(BIWebServiceProxy.class);
    private PublicReportServiceService publicReportServiceService;
    private String userId;
    private String password;
    public BIWebServiceProxy() {
    super();
    publicReportServiceService = new PublicReportServiceService();
    setUserId("Administrator");
    setPassword("Administrator");
    logger.info("BI Web Service Proxy Constructure Initialized");
    private PublicReportService getPublicReportService() {
    return publicReportServiceService.getPublicReportService();
    @WebMethod
    public String scheduleReport(HS1ReportRequest hsRepRequest) {
    ReportRequest repRequest = null;
    byte[] byteArray = null;
    File memberFile = null;
    FileInputStream fis = null;
    ScheduleRequest sreq = null;
    String returnValue = null;
    ResourceBundle rb =
    ResourceBundle.getBundle(BIWebServiceConstants.RESOURCE_FILE);
    sreq = new ScheduleRequest();
    repRequest = new ReportRequest();
    memberFile =
    new File(rb.getString(BIWebServiceConstants.REPORT_DATA_FILE));
    DeliveryRequest delivery = new DeliveryRequest();
    FTPDeliveryOption ftpDelivery = new FTPDeliveryOption();
    ftpDelivery.setFtpServerName(rb.getString(BIWebServiceConstants.FTP_SERVERNAME));
    ftpDelivery.setFtpUserName(rb.getString(BIWebServiceConstants.FTP_USERNAME));
    ftpDelivery.setFtpUserPassword(rb.getString(BIWebServiceConstants.FTP_PASSWORD));
    ftpDelivery.setSftpOption(false);
    ftpDelivery.setRemoteFile(hsRepRequest.getDestinationReportPath());
    delivery.setFtpOption(ftpDelivery);
    try {
    FileUtils.writeStringToFile(memberFile, hsRepRequest.getXmlData());
    fis = new FileInputStream(memberFile);
    byteArray = new byte[(int)memberFile.length()];
    fis.read(byteArray);
    } catch (IOException e) {
    logger.info("IO Exception while converting string input to XML : ",
    e);
    repRequest.setReportData(byteArray);
    repRequest.setAttributeFormat("pdf");
    repRequest.setAttributeLocale("en-US");
    repRequest.setAttributeTemplate(hsRepRequest.getReportTemplateName());
    repRequest.setReportAbsolutePath(hsRepRequest.getReportPath());
    // repRequest.setReportDataFileName(memberFile.getName());
    // repRequest.setSizeOfDataChunkDownload(-1);
    //Set DeliveryRequest
    sreq.setDeliveryRequest(delivery);
    //Set ReportRequest
    sreq.setReportRequest(repRequest);
    sreq.setNotifyWhenFailed(true);
    sreq.setNotifyWhenSuccess(true);
    sreq.setNotificationTo(rb.getString(BIWebServiceConstants.REPORT_NOTIFICATION_EMAIL));
    try {
    returnValue = getPublicReportService().scheduleReport(sreq, getUserId(), getPassword());
    } catch (InvalidParametersException_Exception e) {
    logger.info("InvalidParametersException_Exception while scheduling report : ",
    e);
    } catch (AccessDeniedException_Exception e) {
    logger.info("AccessDeniedException_Exception while scheduling report : ",
    e);
    } catch (OperationFailedException_Exception e) {
    logger.info("OperationFailedException_Exception while scheduling report : ",
    e);
    return returnValue;
    @WebMethod
    public String getScheduledReportStatus(String scheduledJobID) {
    JobStatus jobStatus = new JobStatus();
    try {
    jobStatus =
    getPublicReportService().getScheduledReportStatus(scheduledJobID,
    getUserId(),
    getPassword());
    } catch (InvalidParametersException_Exception e) {
    logger.info("InvalidParametersException_Exception while getting scheduled report status : ",
    e);
    } catch (AccessDeniedException_Exception e) {
    logger.info("AccessDeniedException_Exception while getting scheduled report status : ",
    e);
    } catch (OperationFailedException_Exception e) {
    logger.info("OperationFailedException_Exception while getting scheduled report status : ",
    e);
    return jobStatus.getJobStatus();
    private void setUserId(String userId) {
    this.userId = userId;
    private String getUserId() {
    return userId;
    private void setPassword(String password) {
    this.password = password;
    private String getPassword() {
    return password;
    }

    I would appreciate if anyone of you guys can help on this...

  • Failed to test a SAP PI Published web service on SOAPUI

    Hi All,
    I have developed the RFC to Web service through SAP PI 7.1 . Web service published on 'Services Registry' and test on it. It accepts the my request and respond from SAP R3. All the message was successfully recorded on SXMB_MONI.
    In Integration Directory, i could view the web service URL . I navigated to the Sender Agreement -> Display WSDL and i could see the "WSDL URL' and wsdl content on large text box.
    I access the WSDL URL from SOAPUI tool and set the preference -> proxy setting also. it populated the request message successfully but respond gives the '400 Bad HTTP request' and Detail: -> illegal path specified  . No SOAPUI request recorded on SXMB_moni.
    i try the same following way also . i saved the WSDL on xml file and access it through the SOAPUI -> import project. that also failed on SOAPUI.
    Can you please help to solve the issue ?
    Thanks,
    Rehan

    Hi Rehan
    Please check the below blog, it might help
    Publish services from PI 7.1 to the Service Registry
    Consuming SAP PI published Web Service
    regards,
    Harish

  • Calling BI Publisher Web Service from pl/sql

    I am trying to call the BI publisher web service from pl/sql.
    I get the following response back
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
    <faultstring>no SOAPAction header!</faultstring>
    <detail>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">my-obiee</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    The bit that concerns me is
    <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
    <faultstring>no SOAPAction header!</faultstring>
    The code that I used to call this is
    DECLARE
    req utl_http.req;
    resp utl_http.resp;
    value VARCHAR2(1024);
    p_data_type varchar2(4000):= 'application/soap+xml;';
    p_data_in VARCHAR2(3000) :=
    '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pub="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <soapenv:Body>
    <pub:scheduleReport xmlns:pub="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <scheduleRequest>
    <deliveryRequest>
    <ftpOption>
    <ftpServerName>ino-ed-oel2.inoapps.com</ftpServerName>
    <ftpUserName>*******</ftpUserName>
    <ftpUserPassword>*****</ftpUserPassword>
    <remoteFile>/opt/UAT/db/tech_st/11.1.0/employees.pdf</remoteFile>
    </ftpOption>
    </deliveryRequest>
    <reportRequest>
    <attributeFormat>pdf</attributeFormat>
    <reportAbsolutePath>http://10.100.100.44:9704/xmlpserver/~administrator/XXXXXXX.xdo</reportAbsolutePath>
    <parameterNameValues>
    <item>
    <name>dname</name>
    <multiValuesAllowed>false</multiValuesAllowed>
    <values>
    <item>153002</item>
    </values>
    </item>
    </parameterNameValues>
    </reportRequest>
    <userJobName>BILL</userJobName>
    </scheduleRequest>
    <userID>******</userID>
    <password>******</password>
    </pub:scheduleReport>
    </soapenv:Body>
    </soapenv:Envelope>';
    BEGIN
    --utl_http.set_proxy('proxy.my-company.com', 'corp.my-company.com');
    req := utl_http.begin_request('http://10.100.100.44:9704/xmlpserver/services/PublicReportService?wsdl', 'POST');
    utl_http.set_header(req, 'content-type', p_data_type);
    utl_http.set_header(req, 'content-length', length(p_data_in));
    utl_http.set_header(req, 'User-Agent', 'Mozilla/4.0');
    utl_http.write_text(req, p_data_in);
    resp := utl_http.get_response(req);
    dbms_output.put_line ('status code: ' || resp .status_code);
    dbms_output.put_line ('reason phrase: ' || resp .reason_phrase);
    LOOP
    utl_http.read_line(resp, value, TRUE);
    dbms_output.put_line(value);
    END LOOP;
    utl_http.end_response(resp);
    EXCEPTION
    WHEN utl_http.end_of_body THEN
    utl_http.end_response(resp);
    END;
    Any help would be greatly received

    I had the same problem this morning. You need to add a line to the HTTP header to declare a value for SOAPAction.
    You can set this as an empty string, but for some reason it is required.
    Try adding this among your header declarations:
    utl_http.set_header(req, 'SOAPAction', '');

  • Azure ML Published Web Services - Cross Origin Requests

    It appears Azure ML published web services do not support cross-origin requests.  Simply trying to call a published Azure ML service using jQuery in Chrome, Firefox, Safari, or IE is blocked because because of the missing access control headers in the
    response.  Is there any way to publish an Azure ML web service so it can be called from a domain other than *.azureml.net?

    Hi ejasoncline,
    Yes, CORS is currently not supported for the web services, but we will make a note of this request and consider adding support.
    You can use the sample code to call the published webservice using a standalone client. The webservice help page (<score url>/help) should have sample code for C#, Python & R.
    Richie

  • Web Service  implementation and consumer in different version

    Currently we have a Web Service which is written in J2EE 5 and this web service are consumed by Web Application written in 1.4
    We are using SOAP for connection and JAXB API for parsing. We could like to know if there is any issue which could arise because of the difference in the version of the JDK used by the consumer?
    Assuming that there is a reverse communication happening between J2EE 1.4 and J2EE 5 what are the issue which could arise?
    Edited by: Sanu Sasidharan on Apr 11, 2011 5:31 AM

    If understand the question correctly, the versions of Java used by the server & client are irrelevant.
    A Web service can be consumed even by apps written in another language (C++, for example). The only requirement is that the client send requests to the correct address, and that requests be valid according to whatever XML schema the service uses.

  • Publish Web Service

    Hi,
    We have created Web Service and checked in T-code "SICF" generated WSDL file. WsNavigator also tested the service with sample data input.
    Now I want to access publish Web Service URL from my browser.
    How I can do it and check my End Point URL is working fine ?
    Regards

    You can follow these link:
    SOAMANAGER: How to test service definition using SOAMANAGER transaction
    /people/mohan.kumark/blog/2008/10/14/soamanager-how-to-test-service-definition-using-soamanager-transaction

  • Publishing Web Services via APEX on the horizon? WSRP? SOD?

    Hi,
    Are there any plans for APEX being able to "natively" publish Web Services? Maybe support for WSRP so you could publish an APEX based portlet on Oracle Portal or WebCenter?
    Any news of when an updated statement of direction will be published?
    Regards Pete
    Message was edited by:
    Peter Lorenzen

    There is some talk of native database web services in the next version of Oracle:
    http://padrenc.blogspot.com/2006/10/xquery-and-xml-db-hands-on-lab.html
    It didn't quite make it into 10g:
    Re: plsql web services without appserv

  • Calling BI Publisher Web Services from APEX

    Hi,
    Has anyone been able to run a BI Publisher report from APEX using the Web Service interface provided by BI Publisher?
    I have created Web Service Reference in APEX using:
    http://<host>:<port>/xmlpserver/services/PublicReportService?wsdl
    I have then created a page rendering process that calls the web service, in particular calling the runReport operation.
    When a try and run the page, I get the following error:
    "ORA-20001: soapenv:Server.userExceptionjava.lang.NullPointerException"
    Basically I want to be be able to call the BI Pub report and view the output straight away.
    Appreciate any help.
    Cheers,
    Matt

    Hello,
    I am using Jason's flex_ws_api and I have built an application that uses the BI Publisher web services to runReports. My service request looks like this (example)
    <pre>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pub="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <soapenv:Header/>
    <soapenv:Body>
    <pub:runReport>
    <pub:reportRequest>
    <pub:attributeFormat>pdf</pub:attributeFormat>
    <pub:attributeLocale></pub:attributeLocale>
    <pub:attributeTemplate>New Template 1</pub:attributeTemplate>
    <pub:flattenXML>1</pub:flattenXML>
    <pub:parameterNameValues/>
    <pub:reportAbsolutePath>/~rdpatric/Training/whoami/whoami.xdo</pub:reportAbsolutePath>
    <pub:reportData></pub:reportData>
    <pub:reportDataFileName></pub:reportDataFileName>
    <pub:sizeOfDataChunkDownload>10000</pub:sizeOfDataChunkDownload>
    </pub:reportRequest>
    <pub:userID>user</pub:userID>
    <pub:password>password</pub:password>
    </pub:runReport>
    </soapenv:Body>
    </soapenv:Envelope>
    </pre>
    Obviously you would want to make a lot of these things variables...this is just an example...also sizeOfChunkDownload wasn't working for me at -1...idk...maybe it was something else...
    Also if you use the flex_ws_api...you need to specify the namespace for your xpath statement ie.' xmlns="http://..."'
    I am currently working on getting this working with the 'inSession' webservices as we have BI Pub set up SSO and APEX set up SSO so i need to be able to call the web services inSession...only problem is ssoCreateSession returns a 500 error and no xml...entered a TAR for this...sorry to digress. Use the above code and you should be able to get the runReport working.

Maybe you are looking for