Problem in inserting record in Siebel on demand's object thru web service

Hi All,
We are working on ‘Siebel on Demand’ (software as a service) CRM. We are using web service to communicate. We have WSDL files and we generated the code using Axis framework that comes along with Eclipse.
We are able to login and logoff to the CRM through web service. Now we are trying to insert new object data into existing objects. We are currently trying with Lead object, but when we are trying to insert a record through web service the record gets inserted but the API throws following exception at the end:-
SEVERE: Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
Since this is generated code by Axis, I think we need to do some fine tuning in it to handle this exception. If you are a web service expert or has worked on web service client code, your help is really appreciated. How could we handle this exception at our end?
If you have any alternative way, please feel free to suggest me. Your inputs would certainly be of great value to us!
Thanks
Yash

has anyone been able to insert the data using the insert tag in write back in obiee 11

Similar Messages

  • Problem defining a java client on tomcat to call the esb web service

    Dear Support,
    I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine”.
    The software versions we are using :
    1 - Oracle SOA suite on 10.1.3.3 Oracle AS
    2 – Java 1.5
    3 – Tomcat 5.5
    4 – OS XP Professional

    If you have a main method in jour generated WSclient class (by the proxy) add the following code below the //add your own code:
    AddFileResponseType testResponse = myPort.addFile(testRequest);
    where AddFileResponseType is the responsetype of the WS and addFile is the method to call. this is just an example of my own webservice.
    Next stap is to put the cursor in the main method and choos debug or run.
    This should invoke the main method en call the webservice
    I hope this helps you
    Kim

  • Problem about inserting records ? ?

    hello ,
    i want to insert record in table abc which have 3 column
    i want to insert 2 values from xyz table and one values is from variable
    i write following query
    vMYQUERY :='INSERT INTO abc(NO, TYPE, SUB_TRAN) SELECT '||vSR_NO||',TYPE,SUB_TRAN FROM xyz ;
    EXECUTE IMMEDIATE vMYQUERY;
    is it correct ?
    pankaj

    Did it work?
    You could try the USING clause;
    SQL> create table abc(NO number, TYPE varchar2(10), SUB_TRAN varchar2(10))
    Table created.
    SQL> create table xyz(NO number, TYPE varchar2(10), SUB_TRAN varchar2(10))
    Table created.
    SQL> insert into xyz values(0,' col1', 'col2')
    PL/SQL executed.
    SQL> declare
       vmyquery varchar2(100);
       vsr_no number := 99;
    begin
       vmyquery :='INSERT INTO abc(NO, TYPE, SUB_TRAN) SELECT :1,TYPE,SUB_TRAN FROM xyz' ;
       EXECUTE IMMEDIATE vmyquery USING vsr_no;
    end;
    PL/SQL procedure successfully completed.
    SQL> select * from abc
            NO TYPE       SUB_TRAN 
            99  col1      col2     
    1 row selected.

  • Want to retrieve Account information from Siebel on demand thru web service

    Hi
    i have trial account on 'Siebel on demand' and want to retrieve the information from account or any object. There is one method mentioned in the 'OnDemWebSvcs.pdf' file as 'ContactQueryPage' ,but how to used this method is not clear.
    So can any body give any pointer on this?
    Thanks
    Yash

    Hi,
    Thanks for immd reply and it is really useful for new user like me.
    I converted the wsdl file to java. Now suppose i want to fetch all the record from User object on SOD, i wrote the following code snippet but got error as Internal Error: Session is not available. Aborting Server.
    Code : In java
    private static String mstrUrl="https://secure-ausomxega.crmondemand.com/Services/Integration";
    URL wsUrl = new URL(mstrUrl);
    Default_BindingStub defaultBindingStubObject=new Default_BindingStub(wsUrl,null);
    UserLocator []listOfUser=new UserLocator[1];
    UserLocator userLocatorObject=new UserLocator();
    //String xml ="<ListOfUser><User><FirstName /><UserLastName /><LastUpdated> (>='07/28/2004 06:30:00') AND (<='07/28/2009 06:45:00')</LastUpdated></User></ListOfUser>"
    UserWS_UserQueryPage_Input("1","1",listOfUser1,"1");
    UserWS_UserQueryPage_Input userWS_UserQueryPage_InputObject=new UserWS_UserQueryPage_Input("1","1",listOfUser,"1");
    UserWS_UserQueryPage_Output userWS_UserQueryPage_OutputObject = defaultBindingStubObject.userQueryPage(userWS_UserQueryPage_InputObject);
    Can any body provide any pointer on this, how to make a query in Siebel On Demand.
    Thanks
    Yash

  • Multiple records from IDOC should be processed one by one Thru Web service

    Hi Experts,
    I have a requirement where in the idoc (custom one) will collect data from R/3 system at the frequency of One hour and send them to XI and from XI i need to call the Web serice which would post only one record at a time. In this case how should i manage by mapping. Its something like records from a Table needs to be posted sequentially thry Web service at the receiving end..
    Thanks for your replies in advance.
    Regards,
    Rajesh

    Hi,
    Please see the below links
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling
    idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Idoc - Multiple - interfaces - Idoc to multiple interfaces in XI
    Multiple mappings into one Im - Multiple message mappings in one integration scenario
    Multiple Idocs
    How to send Multiple Idocs?
    Regards
    Chilla..

  • Problem using WSDL from SAP in IBM's RAD for generating web service client

    When importing a WSDL from the ABAP stack on a SAP 6.40 system into IBM's RAD tool for generating a web service client there are errors with the soap fault classes that get generated.  The WSDL declares the types for the faults with WebServiceName.RfcException and these have elements of name, text, and message.  When the tools see this in the WSDL they generate classes that extend the Java exeception class and this causes an error because the "message" name conflicts with the standard java exception message.  Has anyone else ran into this problem?  It seems like a basic problem many java tools for generating web service client proxies would have because the soap faults get turned into java exceptions.  This name conflict of the java exception with the WSDL fault definition means that code always needs to be adjusted and cannot simply use the classes that are generated from the WSDL.  Anyone run across this or a similar problem in the java environment using the SAP WSDL?
    Aaron

    Hi,
    Hello again .
    Have you tried your service using soapui ?
    You can use your WSDL as input .
    In order to eliminate eclipse problem try this service:(I just did)
    http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
    Regards.
    package main;
    import java.io.FileInputStream;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapType;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapTypeProxy;
    import org.oorsprong.www.websamples_countryinfo.TCountryCodeAndName;
    public class Main {
    public static void main(String[] args) {
      try {
       final Properties properties = new Properties();
       properties.load(new FileInputStream("properties.ini"));
       System.getProperties().putAll(properties);
      } catch (final Exception exception) {
       exception.printStackTrace();
      new Main();
    public Main() {
      try {
       final CountryInfoServiceSoapType infoServiceSoapType = new CountryInfoServiceSoapTypeProxy();
       final TCountryCodeAndName[] tCountryCodeAndNames = infoServiceSoapType.listOfCountryNamesByName();
       for (final TCountryCodeAndName tCountryCodeAndName : tCountryCodeAndNames) {
        System.out.println(tCountryCodeAndName.getSName());
      } catch (final RemoteException exception) {
       exception.printStackTrace();

  • Siebel Integration with Adobe LiveCycle through Web Services

    I am new to Adobe LiveCycle and I have very little knowledge in Adobe LiveCycle. What we are planning is to send a PDF from Siebel to Adobe LiveCycle and that should extract the data from PDF and return the data back to Siebel. I think this can be done through Web Services. If anyone has any idea, kindly let me know.
    thanks

    I am not sure why you need to send a PDF form from Siebel to a LiveCycle ES server-side process, to have LiveCycle send data back to Siebel, when the data came from Siebel in the first place. It is more typical that applications send data to LiveCycle to have the data merged with a form template to render PDF.
    Regardless, there are a variety of solutions depending upon your solution requirements, business requirements, infrastructure, client-server preferences, security requirements, etcetera, to do what you are seeking. LiveCycle ES processes expose endpoints to consume data from a variety of protocols and formats, including SOAP, EJB (RMI), email, LiveCycle remoting (for Flex clients), and watched folders.
    A solution could be as simple as dropping an XDP-based PDF into a network folder, the PDF would be consumed by LiveCycle, a process extracts the data from the PDF, and a Web Service pushes the data back to Siebel.
    Steve

  • Problem to insert records in the Infocube

    Hi Developer,
    When I effectue the upload in the InfoCube (infosource: 2lis_02_scl) the records are trasmitted but not written on it. The same "update rule" in development system works right.
    Have someone any ideas of the problem?
    Thanks in advance!
    Domenico

    Hi Domenico,
    look at the monitor (detail tab) of your data load where your records are deleted !
    If there is something in your update rules (every record is deleted here) and your update rules are the same than in your DEV environment...check in PSA if your records coming from R/3 have something different (e.g. processkey not filled !)
    Let me know...
    Bye,
    Roberto

  • Problem when adding java objects in a vector and passing thru web service

    Hi! I'm getting this error when I try to add a java object I created into a vector and passing it through a web service: java.lang.IllegalArgumentException: No Serializer found to serialize a 'testObj' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'
    This does not happen when I simply add strings or Integer objects into the vector. What am I missing?
    Thanks.

    just chek this
    http://forum.java.sun.com/thread.jspa?threadID=501189&messageID=2370914
    Edited by: garava on Jul 16, 2008 1:13 PM.
    It would be great if you could paste the wsdl part for that vector and just have a look for the complex typr cntent
    like for HashMap we have the following mapping
    <complexType name="HashMap">
      <sequence>
        <element name="item" minOccurs="0" maxOccurs="unbounded">
          <complexType>
            <sequence>
              <element name="key" type="anyType" />
              <element name="value" type="anyType" />
            </sequence>
          </complexType>
        </element>
      </sequence>
    </complexType>Since in Value it should again contain a mapping for the Object which you are trying to pass then only an appropriate serializer and deserilaizer would get generated. Hope this answers your query. For refernece
    http://www.theserverside.com/tt/articles/article.tss?l=Systinet-web-services-part-2
    [http://www.theserverside.com/tt/articles/article.tss?l=Systinet-web-services-part-2|For refernce tutorial]
    Thanks,
    Avadhoot Sawant.
    Edited by: garava on Jul 16, 2008 1:16 PM

  • Problem in accessing actionscript object in web service

    I have an actionscript which has a list as member.
    the list is populated with the object of another action
    script.
    the parent actionscript is passed as argument to the server.
    In the server I have tried to retrieve the objects from the
    list and got the following error :
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032: Stream Error. URL:
    http://localhost:8080/axis/services/MyService1"
    URL:
    http://localhost:8080/axis/services/MyService1"
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/errorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
    My code in the server side is as following :
    public ArithmeticBean readList(ArithmeticBean ob)
    System.out.println("Reading List.....");
    List lt = new ArrayList();
    lt = ob.getListInnerBean();
    System.out.println("Size : "+lt.size());
    for (Object ib : lt) {
    InnerBean inBean = (InnerBean) ib;
    System.out.println(inBean.getA1());
    System.out.println(inBean.getB1());
    return ob;
    here ArithmeticBean is the parent object under which there is
    a list and the list is populated with the object of InnerBean.
    But when tried to get the InnerBean objects i got the said
    error.
    Could anyone please help wheather it is possible to send an
    actionscript inside a list from client to server or not.
    Thnx in advance....

    Hi,
    It is going through all the steps in the wizard,but finally after assigning the package it is giving an error " ERROR in Activation"
    contact authorised person.It is not giving any error details in the information window.
    Thanks,
    Mohan Rao.

  • Consumer Contact's Web Service CRM On Demand: Problem to do an operation!

    Hi,
    I'm trying to consume a Web service offered by CRM On Demand, namely it is the Contact object.
    The steps I followed were:
    1) Download the file .wsdl associated with contact from CRM On Demand
    2) Generate Proxy web service from JDeveloper 10g (version: 10.1.3)
    3) Configure the client to consume the resource and to do, for example, the contact’s insertion.
    I can make a login and a logout on the Web Service correctly, but when I try to do an insertion I can’t do it.
    The log generated by JDeveloper when running the client is as follows:
    WARNING: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    error: java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    at crmondemand.runtime.Contact_Stub.contactInsert(Contact_Stub.java:283)
    at crmondemand.ContactClient.contactInsert(ContactClient.java:96)
    at crmondemand.ContactClient.main(ContactClient.java:71)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: www-proxy.au.oracle.com
    at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
    at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
    at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
    at crmondemand.runtime.Contact_Stub.contactInsert(Contact_Stub.java:265)
    ... 2 more
    The HTTP Proxy Server settings (Tools-> Preferences-> Web Browser and Proxy) in JDevloper is:
    - Host name: www-proxy.au.oracle.com
    - Port: 80
    - Exceptions: xpvmware | *. oracle.com | *. peoplesoft.com | *. jdedwards.com | *. mlab.jdedwards.com | *. oracle.com | *. peoplesoft.com | *. jdedwards.com | * . mlab.jdedwards.com
    - No authentication.
    I'm not sure if it's a problem with HTTP proxy server settings or URL/ENDPOINT problem, because maybe I am trying to access an incorrect URL.
    If I try to access from the browser to this URL I can't access the wsdl, so I do not know if this address is correct, but is specified in the file. Wsdl:
    <soap:address location="https://secure-ausomxgfa.crmondemand.com/Services/Integration" />
    For this reason, I supposed that it is correct...
    I have tried to access via URL with the follows:
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration/Contact
    - https://secure-ausomxgfa.crmondemand.com/Services/Integration/Contact?wsdl
    In all I have the next response from the Internet browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Client</faultstring>
    <detail>
    <ErrorCode>SBL-ODU-01001</ErrorCode>
    <ErrorMessage>An invalid command was specified: doGet with no data</ErrorMessage>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Since the client generated, I have tried with the follows:
    1) System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", endpoint);
    2) myPort.setEndpoint(endpoint);
    where endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration" + ";jsessionid=" + idSesion;
    or "https://secure-ausomxdsa.crmondemand.com/Services/Integration" (with both options I can do the operation...)
    and idSesion = logon("https://secure-ausomxdsa.crmondemand.com/Services/Integration",USERNAME,PASSWORD);
    Do you know what is the correct URL (endpoint)?
    Is that a correct HTTP proxy server configuration to invoke a Web service CRM On Demand? But so, what is the correct setting? And if it is a good configuration, what am I doing wrong?
    The source code from my client is:
    String idSesionFull=null, idSesion=null, endpoint=null;
    try {
    crmod.DefaultClient myPort = new crmod.DefaultClient();
    System.out.println("Invoking: " + myPort.getEndpoint());
    ListOfContact list = new ListOfContact();
    ListOfContact outlist = new ListOfContact();
    Contact[] contacts=new Contact[2];
    Contact contact=new Contact();
    //ContactWS_ContactInsert_Input in=new ContactWS_ContactInsert_Input();
    //ContactWS_ContactInsert_Output out=new ContactWS_ContactInsert_Output();
    // Login WS (HTTPS)
    //URL = "https://secure-ausomxdsa.crmondemand.com/Services/Integration"
    idSesionFull=conexionWS_CRM.logon(URL,USERNAME,PASSWORD);
    idSesion = conexionWS_CRM.getSessionId(idSesionFull);
    //Another option I have tested: endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration" + ";jsessionid=" + idSesion;
    endpoint = "https://secure-ausomxdsa.crmondemand.com/Services/Integration";
    myPort.setUsername(USERNAME);
    myPort.setPassword(PASSWORD);
    myPort.setEndpoint(endpoint);
    System.setProperty("javax.xml.rpc.service.endpoint.address", endpoint);
    System.setProperty("javax.xml.rpc.security.auth.username", USER);
    System.setProperty("javax.xml.rpc.security.auth.password", PASSWORD);
    System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", endpoint);
    // Add contacts
    for (int i = 0; i < contacts.length; i++) {
    contact.setContactId("WSCRM"+i);
    contact.setContactFirstName("JDeveloper"+i);
    contact.setContactLastName("prove"+i);
    contact.setCellularPhone("77777777"+i);
    contact.setExternalSystemId("1234"+i);
    contacts=contact;
    list.setContact(contacts);
    //in.setListOfContact(list);
    //in.setEcho("OFF");
    outlist=myPort.contactInsert(list,"OFF"); //<--- Is it correct????
    Contact[] results = new Contact[2];
    Contact result = new Contact();
    for (int i = 0; i < contacts.length; i++) {
    results=outlist.getContact();
    System.out.println("ID:"+results[i].getContactId()+" Name:"+results[i].getContactFirstName());
    // Logout WS (HTTPS)
    logoff(URL, idSesion);
    } catch (Exception ex) {
    System.out.println("error: "+ex);
    ex.printStackTrace();
    logoff(URL, idSesion);
    Any idea to solve this problem?
    Thank you very much in advance for any help.
    Edited by: user12158402 on 03-nov-2009 12:39
    Edited by: user12158402 on 03-nov-2009 12:45
    Edited by: user12158402 on 03-nov-2009 12:47

    Hi Royston,
    thank you for your help, but unfortunately I have the same error message.
    Here is the XML I use, I added the authentication that you provided me.
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Header>
         <wsse:Security>
              <wsse:UsernameToken>
                   <wsse:Username>EUROMASTERFR/AELMASKOUNE</wsse:Username>
                   <wsse:Password>aqwAZE19</wsse:Password>
              </wsse:UsernameToken>
         </wsse:Security>
    </soapenv:Header>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:crmondemand/ws/account/10/2004" xmlns:xsdLocal1="urn:/crmondemand/xml/account">
    <soap:Body>
    <tns:AccountWS_AccountQueryPage_Input>
    <tns:PageSize>10</tns:PageSize>
    <xsdLocal1:ListOfAccount>
    <xsdLocal1:Account>
    <xsdLocal1:CurrencyCode/>
    <xsdLocal1:AccountName>IBM</xsdLocal1:AccountName>
    </xsdLocal1:Account>
    </xsdLocal1:ListOfAccount>
    <tns:StartRowNum>0</tns:StartRowNum>
    </tns:AccountWS_AccountQueryPage_Input>
    </soap:Body>
    </soap:Envelope>
    but for (xmlns: WSSE = "http://schemas.xmlsoap.org/ws/2002/xx/secext" do not forget to enclose the tag with a '>') I do not know to include it.
    Best Regards.
    Anas

  • Facing problem while going to  catch return result from web-services.

    Hi everybody,
    I am new to BPEL. I am facing problem while going to catch the attributes of resultsets returning from web-services(QAS). As far as my knowledge, two types of results it should return - XML entities and another is attributes which is coming as the part of XML entitites. I am able to catch the XML entities, but can't catch the attributes under it. Even, I am not able to see whether web-services returning something within that field.
    When, I tried to catch the attribute and store to a temporary varilable using the following code:
    *<assign name="AssignQASDoGetAddress1">*
    *<copy>*
    *<from variable="InvokeQAS_DoSearch_OutputVariable"*
    part="body"
    query="/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded"/>
    *<to variable="temp"/>*
    *</copy>*
    *</assign>*
    but, I am facing the following selectionFailure errors after running it:
    *"{http://schemasxmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.*
    -<selectionFailure xmlns="http://schemasxmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    *<summary>*
    empty variable/expression result.
    xpath variable/expression expression "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')" is empty at line 269, when attempting reading/copying it.
    Please make sure the variable/expression result "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')"is not empty.
    *</summary>*
    *</part>*
    *</selectionFailure>*
    Getting this error it seems to me that web-service is returning nothing, but, it returns something as it has been catched using a method called isPostcodeRecoded() Java Code in Oracle ADF. This method has been used as it should return boolean whereas for catching the xml entities using java code we used the method like getPostcode(), getMoniker().
    For your information, we are using Jdeveloper as the development tool for building the BPEL process.
    Am I doing any syntax error. Please consider it as urgent and provide me asolution.
    Thanks in advance.
    Chandrachur.

    Thanks Dave and Marc, for your suggestions. Actually what I found is QAS web-service is returning nothing as attributes when the attributes are set to the default value. For example, following is the part of the wsdl of the result which QAS webservice returns.
    <xs:element name="QASearchResult">
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="QAPicklist" type="qas:QAPicklistType" minOccurs="0" />
    <xs:element name="QAAddress" type="qas:QAAddressType" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="VerifyLevel" type="qas:VerifyLevelType" default="None" />
    </xs:complexType>
    </xs:element>
    <xs:complexType name="QAPicklistType">
    - <xs:sequence>
    <xs:element name="FullPicklistMoniker" type="xs:string" />
    <xs:element name="PicklistEntry" type="qas:PicklistEntryType" minOccurs="0" maxOccurs="unbounded" />
    <xs:element name="Prompt" type="xs:string" />
    <xs:element name="Total" type="xs:nonNegativeInteger" />
    </xs:sequence>
    <xs:attribute name="AutoFormatSafe" type="xs:boolean" default="false" />
    <xs:attribute name="AutoFormatPastClose" type="xs:boolean" default="false" />
    <xs:attribute name="AutoStepinSafe" type="xs:boolean" default="false" />
    <xs:attribute name="AutoStepinPastClose" type="xs:boolean" default="false" />
    <xs:attribute name="LargePotential" type="xs:boolean" default="false" />
    <xs:attribute name="MaxMatches" type="xs:boolean" default="false" />
    <xs:attribute name="MoreOtherMatches" type="xs:boolean" default="false" />
    <xs:attribute name="OverThreshold" type="xs:boolean" default="false" />
    <xs:attribute name="Timeout" type="xs:boolean" default="false" />
    </xs:complexType>
    <xs:complexType name="PicklistEntryType">
    - <xs:sequence>
    <xs:element name="Moniker" type="xs:string" />
    <xs:element name="PartialAddress" type="xs:string" />
    <xs:element name="Picklist" type="xs:string" />
    <xs:element name="Postcode" type="xs:string" />
    <xs:element name="Score" type="xs:nonNegativeInteger" />
    </xs:sequence>
    <xs:attribute name="FullAddress" type="xs:boolean" default="false" />
    <xs:attribute name="Multiples" type="xs:boolean" default="false" />
    <xs:attribute name="CanStep" type="xs:boolean" default="false" />
    <xs:attribute name="AliasMatch" type="xs:boolean" default="false" />
    <xs:attribute name="PostcodeRecoded" type="xs:boolean" default="false" />
    <xs:attribute name="CrossBorderMatch" type="xs:boolean" default="false" />
    <xs:attribute name="DummyPOBox" type="xs:boolean" default="false" />
    <xs:attribute name="Name" type="xs:boolean" default="false" />
    <xs:attribute name="Information" type="xs:boolean" default="false" />
    <xs:attribute name="WarnInformation" type="xs:boolean" default="false" />
    <xs:attribute name="IncompleteAddr" type="xs:boolean" default="false" />
    <xs:attribute name="UnresolvableRange" type="xs:boolean" default="false" />
    <xs:attribute name="PhantomPrimaryPoint" type="xs:boolean" default="false" />
    </xs:complexType>
    here the attributes like FullAddress, PostcodeRecodedare , etc. are not being return by the web-service when it is getting the default value false. But, if it gets true then , it is being displayed at the BPEL console.
    Do you have any idea how can I catch the attributes and its value even when it gets the default value which is already set. Previously, it was returning(it was not being displayed at the console).
    Thanks once again for your valuable suggestions...!!!
    Chandrachur.

  • How do you access a web service to insert data into table?

    Ok I have a simple html/jsp survey form to host on our web site. Because of firewall issues I cannot do a direct connect to the database and insert the data from the form. So I need to take the data from the survey form, and pass it to an existing web service, or create a web service that will insert this information for me into the database table?
    Thanks again.
    orozco

    Thanks for the reply shanu. Well, because of firewall issues, as a work around we use a web service to insert data into the database table. Since the Web Service already exist, we just thought it would be easy enough just to pass the parameters to it, and have it do the insert. So really all I need is just to communicate with the already existing web service. I will be honest though I have not really worked with web services before.
    orozcom

  • Problems connecting to php web service

    Hello
    I am pretty raw when it comes to using web services. I am facing a bit of a problem.
    I have been given a url to a web service. http://41.208.61.35/legacyfallback/ws/legacyLifeWS.php?wsdl
    I am trying to connect using cfinvoke:
    <cfinvoke webservice="http://41.208.61.35/legacyfallback/ws/legacyLifeWS.php?wsdl" method="test"  returnVariable="result"> </cfinvoke>
    <cfoutput>#result.test#</cfoutput>
    I keep getting the following error:
    Cannot generate stub objects for web service invocation.
    Name: http://41.208.61.35/legacyfallback/ws/legacyLifeWS.php?wsdl. WSDL: http://41.208.61.35/legacyfallback/ws/legacyLifeWS.php?wsdl. java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}char is referenced but not defined. It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.
    Please can someone assist me in getting around this.
    Have a look at the service url if you need to.
    Ive been at it all day and im ready to pull my hair out!
    Thanks in advance

    Hi
    Ok now i am using the following code:
    <cfinvoke webservice="http://41.208.61.35/legacyfallback/ws/legacyLifeWS.php?wsdl" method="register" returnvariable="registerRequest">
        <cfinvokeargument name="wsUserName" value="delon">
        <cfinvokeargument name="wsUserPass" value="cheketri">
        <cfinvokeargument name="mobileNumber" value="0834064488">                
        <cfinvokeargument name="name" value="delon">        
        <cfinvokeargument name="gender" value="M">
        <cfinvokeargument name="birthDate" value="01-01-2010">
        <cfinvokeargument name="merchantid" value="0">
        <cfinvokeargument name="email" value="[email protected]">
    </cfinvoke>
    and getting the follosing error:
    Web  service operation register with parameters  {mobileNumber={0831727737},name={hansie},wsUserPass={smit},birthDate={01-01-2010},gender= {M},email={[email protected]},wsUserName={delon},merchantid={0}}  cannot be found.
    WHy would that be?
    I checked with the provider and the var names are correct.

  • Problem calling a web Service from BI Publisher (10.1.3.2 )

    We have published a PL/SQL Web Service (from Jdeveloper 10.1.3 ) into a SOA Suite server.
    As requirements from BI Publisher , we chose Document/Literal, SOAP 1.1.
    The Program Unit accept an input parameter (we tried NUMBER & STRING)
    The result is an XML formatted (PL/SQL functions returns a CLOB then converted as a String).
    When testing the Service call from the SOA Suite console, no problems.
    We declined a page with APEX to test this Web Service too : Test is OK
    We added this web service as a data source in BI Publisher :
    After typing WSDL URL, Method, Parameter
    After testing , we do not get the XML result but an error message, coming from Apache AXIS (seems to be the DynamicInvoker) :
    not know how to convert '50740' into org.apache.axis.client.Call@cd7fdb
    Our demo is very near to this example : http://blogs.oracle.com/xmlpublisher/2006/11/01#a123
    and the one from the BI Publisher documentation

    I can't say I know the answer but I wanted to share a thought on debugging the issue. Like you I am seeing an axis error for a parameter on a web service I know works. I can call it using BPEL, SoapUI, etc... I suspect that perhaps BI pub is having trouble interpreting the WSDL for the web service. Specifically, I suspect that since I have imported schemas in the WSDL and nested imports in the supporting XSD files, the process is getting confused. The request message is fairly simple with three optional parameters but the WSDL does use an import via the WSDL. I wanted to share this since this problem often comes up with various tooling and I am lacking time to work out a test case to prove this theory out any time soon. I will try to post once I find some time to test this theory but it may be a while. Reading the results of someone else's test would be just as good!

Maybe you are looking for