PWS CPTRAPProvider::Initialize SOAP error

I have created a java PWS(with SCI page editor for the profile source) that reads a user info property from a sqlserver table. I have cerated the appropriate objects, i.e. remote server, PWS, a remote source. I get the folowing when running the job:
8/2/04 16:51:55- *** Job Operation #1 of 1: Profile source (for importing information about users) 'Staples PS Profile Source' [Run as owner 'Administrator']8/2/04 16:51:56- The Profile Source encountered an error (0x80004005): CPTRAPProvider::Initialize, PWS SOAP call failed.8/2/04 16:51:56- *** Job Operation #1 failed: The Profile Source encountered an error (0x80004005): CPTRAPProvider::Initialize, PWS SOAP call failed. (0x4)8/2/04 16:51:56- Done with job operations.8/2/04 16:51:56- The Profile Source encountered an error (0x80004005): CPTRAPProvider::Initialize, PWS SOAP call failed.
Any help in troubleshooting would be greatly appreciated. Do I need to install service station and try to debug this? This on my desktop with the Portal and the EDK Tomcat instances on the same machine. I didn't encounter any errors while deploying the PWS and SCI page.
Thanks.
Vanita
Staples

Vanita,
Ralated question: are you using Plumtree Service Station to help develop/debug/test your custom PWS? If not, I can send you download instructions.
Kind Regards,
Lars Van Dam ([email protected])
------- Vanita Chawla wrote on 8/5/04 7:51 AM -------Thanks Akash.
I am developing in Java. I found out what the problem was. There was an issue with the url in the web service. Now I have the job finally succeeding but it is not pulling in any properties. Here is the output of the job log and my PWS code. Additionally, I think I need to use the Portal user id in the sql statement. However the remedy code is using the UniqueName. What is UniqueName and how si it different from the User Name? Thanks for your help.
8/5/04 10:40:15- Starting to run operations (1 total) for job 'Staples PS PWS Job'. Will stop on errors. (PID=4328)8/5/04 10:40:15- *** Job Operation #1 of 1: Profile source (for importing information about users) 'Staples PS Profile Source' [Run as owner 'Administrator']8/5/04 10:40:15- The Profile Source is processing the members of group id -1.8/5/04 10:40:15- Profile Source is skipping user 'Administrator' because the Profile Source Provider returned no valid attributes.8/5/04 10:40:15- The Profile Source is processing the members of group id -200.8/5/04 10:40:15- Profile Source is skipping user 'gm01' because the Profile Source Provider returned no valid attributes.8/5/04 10:40:15- The Profile Source is processing the members of group id -201.8/5/04 10:40:15- Profile Source is skipping user 'joe12' because the Profile Source Provider returned no valid attributes.8/5/04 10:40:15- The Profile Source is processing the members of group id -203.8/5/04 10:40:15- Profile Source is skipping user 'test1' because the Profile Source Provider returned no valid attributes.8/5/04 10:40:15- The Profile Source is processing the members of group id -204.8/5/04 10:40:15- Profile Source is skipping user 'test2' because the Profile Source Provider returned no valid attributes.8/5/04 10:40:15- *** Job Operation #1 completed: The Profile Source processed 0 groups and 5 individual users, 5 unique users in all. The profiles of 0 users were updated. 0 users were skipped because their profiles were unchanged, and 5 users were skipped because no valid attributes were found. (0x3)8/5/04 10:40:15- Done with job operations.PWS Code:
packagecom.staples.pws;
importcom.plumtree.remote.ServiceException;
importcom.plumtree.remote.profile.*;
importcom.plumtree.remote.util.*;
importcom.staples.sql.*;
importjava.sql.*;
publicclassStaplesPSPWS implementsIProfileProvider, IUser
privateString[] m_colPropertyList;
privateintm_iUserID;
privateString m_sUserName;
privateString m_sUniqueName;
privateConnection m_Conn;
privateNamedValueMap m_valueMap;
publicvoidinitialize(String[] PropertyList, ProfileInfo ProfileSourceInfo) throwscom.plumtree.remote.ServiceException
m_colPropertyList = PropertyList;
m_valueMap = (NamedValueMap) ProfileSourceInfo;
publicString getGlobalSignature() throwscom.plumtree.remote.ServiceException
returnnewjava.util.Date().toString();
publicIUser attachToUser(intUserID, String LoginName, String UniqueName, String LastSignature) throwscom.plumtree.remote.ServiceException
m_iUserID = UserID;
m_sUserName = LoginName;
m_sUniqueName = UniqueName;
returnthis;
publicvoidshutdown() throwscom.plumtree.remote.ServiceException
m_colPropertyList = null;
publicString getUserSignature() throwscom.plumtree.remote.ServiceException
returnnewjava.util.Date().toString();
publicUserPropertyInfo getUserProperties() throwscom.plumtree.remote.ServiceException
NamedValue[] props = newNamedValue[m_colPropertyList.length];
try
// get the SQL COnnection
m_Conn = DatabaseHelper.getConnection(m_valueMap);
Statement stmt = m_Conn.createStatement();
ResultSet results = stmt.executeQuery( "select EmployeeID from PS_PB_Lookup_Test WHERE NTID=" + m_sUniqueName) ;
if(results.next())
for(intiCounter=0; iCounter < m_colPropertyList.length; iCounter++)
if(m_colPropertyList[iCounter].toUpperCase().equals("EmployeeID") )
props[iCounter] = newNamedValue(m_colPropertyList[iCounter], CheckForSQLNull(results.getString("EmployeeID")));
else
props = newNamedValue[0];
stmt.close();
m_Conn.close();
catch(SQLException se)
thrownewServiceException("There was an error with the SQL process when trying to obtain the profile information: "+ se.getMessage());
catch(Exception e)
thrownewServiceException("There was an error setting the profile properties into the NamedValue object: "+ e.getMessage());
returnnewUserPropertyInfo(props);
*Methodcheckstoseeifavalueisnull,ifitisthenitreturnsablankstring
*otherwisethePWSwillfailonthereturn.
*@paramsValue
*@return
privateString CheckForSQLNull(String sValue)
if(null== sValue)
return"";
else
returnsValue;

Similar Messages

  • SOAP Error in Profile Source

    I've written a profile service to import employee information from our HR system to populate user profiles.
    When I run the Profile Source Job, I'm getting this error:
    4/14/04 13:16:48- The Profile Source encountered an error (0x80004005): CPTRAPProvider::Initialize, PWS SOAP call failed.4/14/04 13:16:48- *** Job Operation #1 failed: The Profile Source encountered an error (0x80004005): CPTRAPProvider::Initialize, PWS SOAP call failed. (0x4)4/14/04 13:16:48- Done with job operations.4/14/04 13:16:48- The Profile Source encountered an error (0x80004005): CPTRAPProvider::Initialize, PWS SOAP call failed.
    Does this look familiar to anyone?
    Thanks,Wes [email protected]

    Joseph, Akash--Let me answer your questions:
    Coding is set to Doc Literal for .netSoap timeout is 30 seconds (this is an immediate error)I can access the web service from the automation serverI'm using the Remote Server Basic AuthenticationHaven't gone the TCPTrace route yet.I run Spy from the portal server 98% of the time-- I often forget to run it on the remote servers. When I ran Spy from the Automation Server, it looks like there is SOAP exception being thrown by the remote Profile Web Service when the Initialize call is made:
    3342 04-15 10:37:16 Warn SOAP 6092 6084 Envelope.cpp(105) *** COM exception caught *** Error info: IDispatch error #19876 (0x80044fa4): [SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: File or assembly name openfoundation, or one of its dependencies, was not found.
    File name: "openfoundation"_   at Plumtree.Remote.Profile.Soap.ProfileProviderSoapBinding.Initialize(PropertyListArray PropertyList, NamedValueHolder ProfileSourceInfo, NamedValueHolder AuthSourceInfo)
    === Pre-bind state information ===LOG: DisplayName = openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5(Fully-specified)LOG: Appbase = [url=file:///C:/Inetpub/wwwroot/Abra]file:///C:/Inetpub/wwwroot/AbraLOG: Initial PrivatePath = bin_Calling assembly : xpcommon, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null._===
    LOG: Publisher policy file is not found.LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.LOG: Post-policy reference: openfoundation, Version=2.0.9.8318, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/TemporaryASP.NET Files/abra/16123dc4/9c23a487/openfoundation.DLL.LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/TemporaryASP.NET Files/abra/16123dc4/9c23a487/openfoundation/openfoundation.DLL.LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Abra/bin/openfoundation.DLL.LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Abra/bin/openfoundation/openfoundation.DLL.LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/TemporaryASP.NET Files/abra/16123dc4/9c23a487/openfoundation.EXE.LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/TemporaryASP.NET Files/abra/16123dc4/9c23a487/openfoundation/openfoundation.EXE.LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Abra/bin/openfoundation.EXE.LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Abra/bin/openfoundation/openfoundation.EXE. --- End of inner exception stack trace ---'] (105,Envelope.cpp)
    Since we've identified a SOAP exception, what do I need to do next?
    Thanks all--Wes

  • How can I get a SOAP Error message in ABAP ?

    Dear all.
    I'm trying to get SOAP Error message during XI Interface.
    I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.
    I used
    CATCH CX_AI_APPLICATION_FAULT.
    CATCH CX_AI_SYSTEM_FAULT.
    but couldn't get the error message.
    The Error occured as below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I exactly need 'BOLD' style message.
    Any help is appreciated.
    Thanks!

    Hi,
      This is an application fault,
      error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.
      these are specific to interfaces, in order to handle those
    u need to configure apllication log at 'SLG1' t.code.
    i mean, u have to use following function moules to handle application log in ABAP Proxy .
    i.e
    APPL_LOG_WRITE_HEADER
    APPL_LOG_WRITE_MESSAGES
    APPL_LOG_WRITE_DB.
    warm regards
    mahesh.

  • SOAP error!! while activating or running an existing Adobe form

    Hi,
    I am working on Adobe forms in ECC6.0 server.
    I am getting a SOAP error while I run existing forms or trying activating a Z* form.
    <i>Error: ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)</i>
    I am trying to run an existing form in 800 client. It is running fine in 001 client.
    ADS installed on 001 client but basis team is not able install it on 800 client.
    How to install ADS on 800 client also. Is it a problem with ADS installation??
    Thanks in advance.
    Thanks,
    Sreekanth Gollamudi

    Pradeep,
    You are right. This time I could bind the context from my interface (even though it was ABAP based).
    I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
    The runtime error that i am encountering now says :
    Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
    the source text of error is:
    get result
    m_pdf_object->get_document ( importing pdfdata = pdf ).
    catch cx_fp_exception into lr_fpexc.
    raise exception type cx_wd_general
    exporting
    previous = lr_fpexc
    and this exception is not caught ! I am still lost
    thanks again for your help!
    Liz

  • SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

  • SOAP  - XI - SOAP Error

    Hi,
    I am working on a scenario where a SOAP Client ( XMLSPY) sends a request to XI and XI forwards it to a web service and returns the result back to Soap Client. I am using SOAP Adapter at outbound and inbound. 
    I have done the following steps:
    1. imported the WSDL for the web service.
    2. created MI based on the WSDL.
    3. Configured the agreements and determinations.
    4. Generated WSDL based on the configuration objects in ID.
    5. Called my WSDL in XMLSPY client.
    6. I am asked to login to the XI system.
    7. I get an error message back in XMLSPY:
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>DeliveryException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:457)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:512)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    The message monitoring shows:
    2006-04-03 11:37:37 Success SOAP: request message entering the adapter
    2006-04-03 11:37:40 Success The message was successfully received by the messaging system. Profile: XI URL: http://diamond:50500/MessagingSystem/receive/AFW/XI
    2006-04-03 11:37:40 Success Using connection AFW. Trying to put the message into the request queue.
    2006-04-03 11:37:40 Success Message successfully put into the queue.
    2006-04-03 11:37:40 Success The message was successfully retrieved from the request queue.
    2006-04-03 11:37:40 Success The message status set to DLNG.
    2006-04-03 11:37:40 Success Delivering to channel: SOAP_RECEIVER_ADAPTER
    2006-04-03 11:37:40 Success SOAP: request message entering the adapter
    2006-04-03 11:37:42 Error SOAP: error occured: org.w3c.dom.DOMException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    2006-04-03 11:37:42 Error Exception caught by adapter framework: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    and it also shows:
    Time Stamp Status Description
    2006-04-03 11:37:37 Success SOAP: request message entering the adapter
    2006-04-03 11:37:40 Success The message was successfully received by the messaging system. Profile: XI URL: http://diamond:50500/MessagingSystem/receive/AFW/XI
    2006-04-03 11:37:40 Success Using connection AFW. Trying to put the message into the request queue.
    2006-04-03 11:37:40 Success Message successfully put into the queue.
    2006-04-03 11:37:40 Success The message was successfully retrieved from the request queue.
    2006-04-03 11:37:40 Success The message status set to DLNG.
    2006-04-03 11:37:40 Success Delivering to channel: SOAP_RECEIVER_ADAPTER
    2006-04-03 11:37:40 Success SOAP: request message entering the adapter
    2006-04-03 11:37:42 Error SOAP: error occured: org.w3c.dom.DOMException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    2006-04-03 11:37:42 Error Exception caught by adapter framework: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'
    The message I am sending to the XI is :
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
              <m:VerifyAddress xmlns:m="http://www.webservicex.net">
                   <m:City>Plano</m:City>
                   <m:State>TX</m:State>
                   <m:Zip>75024</m:Zip>
              </m:VerifyAddress>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    There is some URI conflict in both the adapters. They expect some URI format which it is not getting. I dont understand where the problem is.
    Can anyone help?
    Thanks,
    Shubha.

    Hi,
    I think namespace in the URL is conflicting somewhere.
    Just check with this blog-
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    Hope this helps,
    Regards,
    Moorthy

  • Soap error in update resources at kmpropertymassmaintenance.xls

    I have downloaded from sdn the KM Property Maintenance Excel from Martin Hermes created on 15/5/2006
    I can read properties template and read resources but when I try to update resources I get an error:
    Soap Error: Deserializing fails, Nested message: XML Deserialization Error. Reference [id1] in element [Resource] cannot be resolved. Incorrect usage of reference found, chack XML for correctness..

    Hi,
    ok...
    But I have deplayed the ear file into my NW70 SP20 portal.
    Change the URL in the Excel coding.
    Read the KM documents information and after this my documents metadata.
    Change the meta data values and store it again.
    Every thing works fine.
    Please decrible the way how you have use the Excel.
    Thanks and best regards
    Frank

  • SOAP Error in PRC

    I am trying to add a remote document to multiple folders in the KD as well as set its customized properties, we are using Plumtree v 5.02. My Java code is as follows:
    import com.plumtree.remote.prc.*;
    import java.net.*;
    import java.util.*;
    import com.plumtree.remote.portlet.IPortletContext;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.rmi.RemoteException;
    public class RemoteDocument
    private static String url = "http://hqwplusraweb01/ptapi/QueryInterfaceAPI.asmx";
    private static String uid = "test1";
    private static String pwd = "test1";
    public static void main(String[] args) throws Exception
    try
    IRemoteSession session = RemoteSessionFactory.getExplicitLoginContext(
    new URL(url), uid, pwd);
    IDocumentManager documentManager;
    IRemoteDocument remoteDocument;
    documentManager = session.getDocumentManager();
    int iDataSourceID = 247; // uses web service id 287 - .NET CWS for Microsoft Windows Files
    int[] x = new int[2];
    x[0] = 325;
    x[1] = 331;
    documentManager.addDocuments(8749, x);
    documentManager.addDocuments(8794, x);
    IDocumentProperties props = documentManager.queryDocumentProperties(8749);
    props.setStringValue(236,"My document property!");
    documentManager.updateDocumentProperties(8849, props);
    catch(Exception e)
    System.err.println(e.getMessage());
    e.printStackTrace(System.err);
    The outgoing SOAP request envelop is:
    <soapenv:Body>
    <ns1:addCardToFolders soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:plumtree-com:DirectoryAPI">
    <sLoginToken xsi:type="xsd:string">452|1099428549|dvSe9Y+a8sAA6jkeZiH5ibC5UN8=</sLoginToken>
    <nCardID xsi:type="xsd:int">8749</nCardID>
    <aFolderIDs xsi:type="soapenc:Array" soapenc:arrayType="xsd:int[2]" xmlns:ns2="http://www.plumtree.com/xmlschemas/api/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item>325</item>
    <item>331</item>
    </aFolderIDs>
    </ns1:addCardToFolders>
    </soapenv:Body>
    and the response SOAP error is:
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Server did not recognize the value of HTTP Header SOAPAction: urn:plumtree-com:DirectoryAPI.addCardToFolders.</faultstring>
    <detail/>
    </soap:Fault>
    </soap:Body>
    I am constantly getting the Server did not recognize the value of HTTP Header SOAPAction: urn:plumtree-com:DirectoryAPI.xxxxxxx for most of the EDK API calls.
    Please let me know what I am missing.
    Thanks.
    Hani

    Does this mean I have we have to upgrade the entire portal to 5.03 or just the Web-Services? Also, which remote EDK should I be using, 5.0 or 5.1?
    Thanks.

  • How to view body of SOAP error (in Java)

    I'm trying to track down the source of a "Server" error I keep getting back when trying to invoke Web Services from Java code. I can't figure out how to view my SOAP response to get the details of the error message. So all I have to work with now is "javax.xml.rpc.soap.SOAPFaultException: Server". I created the Web Service endpoint in JDeveloper by loading the .wsdl file and selecting "Generate Web Service Proxy" - So I can't view my SOAP message/response - I just call the 'accountInsertOrUpdate' method.
    Should I expect the SOAP body to have a more detailed error as to what is causing the 'Server' error?
    Does anybody know of a method where I can view the SOAP body being sent out and received?
    I consistently get this Server error when trying to call any Oracle CRM On Demand method (about 2-3 times in a row) and then the method call works fine - no changes on my side (it is just in a loop to retry if a Server error is encountered). (If I view the Web Service Utilization in CRM On Demand - it doesn't show any of the 'Server' errors - only the successful login, method call, and logout.
    Any ideas would be greatly appreciated - Thanks!
    Brian

    I just figured out how to view the body of the SOAP error. (I just needed to cast the Exception as a SOAPFaultException to view the details).
    This is the error I consistently get: Internal Error: Session is not available. Aborting. (SBL-ODU-01006)
    So now my question - has anybody else run into this?
    I log in - get my session id. Try to call a method and get (2 or 3 times in a row) this 'Session not available' error and then it works. I try and make another method call and get 2 or 3 more 'Session not available' errors.
    I thought it might be a timing issue (where I am making too many requests/second) so I added a little 'sleep' time between method calls with no difference in response.
    Ideas?

  • SOAP: error occured: java.io.IOException: invalid content type for SOAP: TE

    Hi,
    We are implementing an XI scenario as follows: Mail Adapter->XI->SOAP Receiver.
    Basically, we pass the XML File attachment from the Mail Adapter through XI to the SOAP Adapter. However, we keep getting the following error:
    <i>SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML</i>
    Any ideas on where we could look to fix this problem?
    Thanks,
    EC

    People,
    most of errors like that are 401 (unauthorized), 403 (forbidden), 404 (not found) and so on. To be sure, check the message content that comes back from the webservice, in the Message Monitoring.
    Obs: To visualize sync messages payload in Message Monitoring, you'll have to set the Messaging.syncMessageRemover.removebody parameter to <i>false</i> (default is <i>true</i>) in SAP XI AF Messaging service, in the Visual Administrator.
    Regards,
    Henrique.

  • "SOAP-ERROR: Parsing Schema: unexpected complexType in complexType"

    Hi, I am trying to access cca service through wsdl by php. but when i am trying to create messageprovider object, that time i got error something like "SOAP-ERROR: Parsing Schema: unexpected <complexType> in complexType" . Please help me to resolve for this error.

    hi,
    just do not use WS-Policy. To achieve this change the WSDL-URL fed to the constructor from
    ... wsdl11/ws_policy/document?sap-client=123
    to
    ... wsdl11/standard/document?sap-client=123
    and it works.
    have fun,
    anton

  • Can't initialize OCI error occured during the login process using TOAD 9.0

    I have installed the Toad 9.0 recently while login using the username & password for oracle 10.0 database , i am getting the error
    Can't initialize OCI Error 1
    But i am able to login using the Sql Plus successfully..
    Thanks in Advance.

    Here's one more reason why this error occurs in Toad. It is when you have more than one Oracle Client installed on your machine. Even when you select the correct Oracle Home in "Connect Using" field of Toad, you still get this error "Can't initialize OCI. Error -1". So, to solve that you need to go to the installation folder of that Oracle Home (e.g. C:\Oracle\ora92\), then go to the BIN folder. Open Oracle.Key in Notepad and confirm that it is showing Registry entry/path to the correct Oracle Home (e.g. HOME0 or HOME1 or whatever).
    I hope this helps.

  • SOAP error message

    Hi everybody,
    I am facing a problem I am a little overstrained with. I made a web service for read only access of sales order data. After some struggle with the authorization, I now get a SOAP error message as response.
    <CX_SOAP_CORE>
    <E_LOCATION>
      <CLASS>CL_SRT_WSP_RT_CONFIG</CLASS>
      <METHOD>DETERMINE_OPERATION_NAME</METHOD>
      <ID>1</ID>
    </E_LOCATION>
    <E_TEXT>&lt;no error message available>: ("Message "SalesOrderViewNameReadByIDQuery_sync{http://sap.com/xi/SAPGlobal20/Global}" nicht unterstützt (Interface: "ZZBY002657_SALESORDER" Binding-Schl.: "0000000000011EE0B69046BD753F85D3")")</E_TEXT>
    <E_ID>1033</E_ID>
    <E_FAULT_LOCATION>1</E_FAULT_LOCATION>
    <E_AREA>OTHERS</E_AREA>
    <E_HOST>0</E_HOST>
    <E_PROCESS_CONTROL></E_PROCESS_CONTROL>
    </CX_SOAP_CORE>
    I am not sure if the sales order Interface in general is not supported yet or just a missing query. I built the web service via wizard so in my opinion I donu2019t have to create a special query. Well, I hope so.
    If somebody  can figure out the reason of the error. Please inform me.
    Best Regards
    Jochen

    Hi,
    so  here is a part of my WSDL:
    Link: [https://gist.github.com/ea93c556a769639faaa9]
    And the request:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
       <soap:Header/>
       <soap:Body>
          <glob:SalesOrderViewNameReadByIDQuery_sync>
             <SalesOrder>
                <ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">1101</ID>
             </SalesOrder>
          </glob:SalesOrderViewNameReadByIDQuery_sync>
       </soap:Body>
    </soap:Envelope>
    Thanks a lot. Best regards,
    Jochen
    Edited by: JochenS on Oct 5, 2011 12:56 PM

  • Multiple workflows publishing at once SOAP error

    Hello, we are running SharePoint 2013 August 2014 CU with SQL Server 2012 and Windows Server 2012. We are having an issue where when
    users simultaneously publish a workflow, one of them will receive a SOAP error saying that the temporary file could not be found. I believe this to be an issue with how the workflow is compiled. The compiler puts temporary files in the \appdata\local\temp
    folder and then once the workflow is publish, it clears out those temp files. When multiple workflows publish at the same time, the first workflow to complete will clear out the temporary files of the other workflow trying to compile and will throw the error.
    Is this by design or is this something we have not set up properly in our environment?

    Hi,
    Based on you description, I have done a test.
    1. Navigated to C:\Users\<service-acct>\AppData\Local\Temp.
    2. Published the workflow from SPD.
    3. Workflow publishing process was actually creating all the required files under Temp folder.
    4. Once the workflow is published, it cleared out all of those temp files.
    Per my test, during the workflow publishing, SharePoint will create all the required temporary files under the temp folder. Once the workflow is published, it clears out all of those temp files.
    So it is the cause some of them will receive error saying that the temporary file could not be found.it is by default.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • SOAP: error occured

    Hi PI gurus when iam doing the scenario SOAP to JDBC synchronous and while running the scenario  Iam getting one error
    SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Application:EXCEPTION_DURING_EXECUTE:: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
    Nb: also please tell me how will i see the message flow . Even i have checked configuration testing in integration directory.I have done mapping testing in integration repository. everything is coming correct. Please tell me how will i check this without altova xml spy.
    Please help me .Points will be granted immedietly for the right answer.
    Regards
    Veena.

    Hi,
    In RWB (Runtime Workbench) or SXMB_MONI, you could be able to trace the whole flow of message from Webservice (SOAP) to Database (JDBC).
    Here as Raj have requested you, the structure used for JDBC side will give some more information.
    So please if possible give some more info on this.
    Probably You need to change the JDBC request/response structure slightly..
    Ref:/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step (Just have a look into how Bhavesh does the trick:-)
    And also the blog:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Refer the below details from link
    Problem with Webservice -> XI -> JDBC scenario
    +
    JDBC response
    This is the trickiest part of the configuration and where most of us go wrong. The JDBC adapter when sending its response back will create a Message Type of the same name as the request message with a _response appended to it.
    +
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 9, 2008 6:59 PM

Maybe you are looking for

  • Xml elements random access table

    hi all, i'm having a random access table holdin the index for each xml node in a xml file, any idea how can u access the xml node directly without going through the whole xml file. i want to do this by either sax or stax, dom is not valid with my cas

  • Newer version needed

    I keep getting an error message from the same site. I have loaded this version of Adobe 3x, and other computers have no problem getting in. "To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to th

  • Tabindex + highlight

    Hi there. I actually have two questions: tabIndex is based on what? See this code counter++; var cre = _root.attachMovie("creditos", "creditos", counter); counter++; var sai = _root.attachMovie("sair", "sair", counter); counter++; var jog = _root.att

  • Detremine any user is logged in.

    I know this has been asked before but none of the threads I have found give an answer to this or at least a good answer. Is there any way that I can determine if there is a user logged into a workstation, not the Primary user or logged onto primary w

  • A small icon of 404 not found is always appearing on the lower right of my screen whenever I open firefox,whichever page I go,it's still there on the same place

    I can go to whichever page I like,but the small message is always appearing.It is just a small paralilogram whith the message 404 not found and a strange server name.