Web Service 2.0 add Activity with attachment

I have a requirement, use Java code to add an activity with attachment using the wsdl of web service 2.0.
However, I can't add attachment successfully.
without any attachment, the activity can be added successfully in CRMOD.
my soap msg without attachment is like "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
in this case,I can found the new activity AT18 added in CRMOD.
But, if I add attachment in my soap msg, such as
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity><data:ListOfAttachment><data:Attachment><data:DisplayFileName>attachment.txt</data:DisplayFileName><data:FileNameOrURL>attachment</data:FileNameOrURL><data:FileExtension>txt</data:FileExtension><data:Description>Attachment Desc</data:Description><data:Attachment>dGVzdCBhdHRhY2htZW50</data:Attachment></data:Attachment></data:ListOfAttachment></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
then I will get the error
Update operation on integration component 'Activity' failed because no matching record in business component 'Action' with search specification '[Description] = "AT18"' could be found.(SBL-EAI-04403)
I am not sure whats the reason....in the API document. It mentions for web service 2.0 'the Insert method can be used to insert both parent records and child records', and 'ActivityInsert' above is actually call the insert method, How I can insert both ativity and attachment successfully? Does anybody have some suggestions?
Thanks in advance!
Kane
Edited by: user13108801 on 18-May-2010 20:05

Thanks Dinesh,
I am in Release 17, in R17, the InsertChild is not supported, API only support 'insert' for both parent and child.
It looks the 'insert' operation with child record actually do the 'update' operation for the parent record to update its child node.
if I send msg using insert operation like:
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity><data:ListOfAttachment><data:Attachment><data:DisplayFileName>attachment.txt</data:DisplayFileName><data:FileNameOrURL>attachment</data:FileNameOrURL><data:FileExtension>txt</data:FileExtension><data:Description>Attachment Desc</data:Description><data:Attachment>dGVzdCBhdHRhY2htZW50</data:Attachment></data:Attachment></data:ListOfAttachment></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
it will failed with the error msg I mentioned before.
however, if I create the parent node first:
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
and then still use insert operation to add the activity with a attachment:
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"urn:crmondemand/ws/ecbs/activity/10/2004\" xmlns:data=\"urn:/crmondemand/xml/Activity/Data\"><soapenv:Header /><soapenv:Body><ns:ActivityInsert_Input><data:ListOfActivity><data:Activity><data:ServiceRequestNumber>85-3143833</data:ServiceRequestNumber><data:Description>at-test18</data:Description><data:Subject>AT18</data:Subject><data:Activity>Task</data:Activity><data:ListOfAttachment><data:Attachment><data:DisplayFileName>attachment.txt</data:DisplayFileName><data:FileNameOrURL>attachment</data:FileNameOrURL><data:FileExtension>txt</data:FileExtension><data:Description>Attachment Desc</data:Description><data:Attachment>dGVzdCBhdHRhY2htZW50</data:Attachment></data:Attachment></data:ListOfAttachment></data:Activity></data:ListOfActivity></ns:ActivityInsert_Input></soapenv:Body></soapenv:Envelope>";
then, the attachment will be added successfully.
And I searched API document of Release 17, it mention that 'The Insert method can be used to insert both parent records and child records. If a child node is specified in the request, the Insert method inserts the child and associates it with the existing parent record. If a child node is missing, the Insert call inserts only the new parent record.'
So, is it that we can say the Insert method for child node can success only if the parent node is already existed? seems we can not insert both parent and child at one time.
Thanks
Kane

Similar Messages

  • Error accessing Web Services afer a Push Activation

    I am facing a strange problem when I try to access a web service after my Midlet is activated via Push Registry: when the stub is trying to invoke the web service, the device (the Wtk 2.2 emulator) asks the permission to use the airtime Internet and, after I press Yes, it does nothing.
    When I try to invoke the web service via an user activated Midlet, this problem does not exist and the connection to the web service is established.
    I'm using Sun Wtk 2.2, sun Web Services API and the Push Registry. The target devices will work on CLDC 1.1 and MIDP 2.0.
    Jorge

    Weblogic does not have any such tool to call the web service hosted on remote machine.
    However in order to drill down the issue, you can create a standalone class and try to access the remote web service from the same machine where the WLS is installed and the application is deployed.
    If the standalone class can access the web service then this is the issue with the WLS configuration for sure.
    Thanks,
    Sandeep

  • File to Web service (SOAP) to File scenario with out BPM in PI 7.1

    Hi All,
    I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
    1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
    PI server is 7.1 with SP:8
    I have configured the scenario like this
    1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
    2) Created Sender Agreement
    3)Created Receiver Determination
    4)Created Interface Determination
    5)Created Receiver Agreement
    Regards,
    Ramesh

    Hi,
    Thanks for your reply!!
    My Scenario is File to SOAP to File.
    Configred modules  in Sender channal below:
    Prcessing sequence:
    Number       Module Name                                        Module Key
    1..........       AF_Modules/RequestResponseBean.......1
    2..........       CallSapAdapter..........................................2
    3..........       AF_Modules/ResponseOnewayBean.......3
    Module Configuration:
    Module Key                                       Parameter Name                                       ParameterValue
    1                                                        passThrough                                            true
    3                                                        receiverChannel                                       receiverChannel name
    3                                                        receiverService                                        receiverService name
    please tell any more confiration requered.
    Regards,
    Ramesh

  • Web service response contains SOAP Headers with "mustUnderstand" true

    Hi
    I have a requirement where in I have to consume a web service as adaptive web service model, and while executing the service pass a mandatory parameter to the soap header. We are able to set the mandatory parameter to the soad header. We got the code snippet to do this from a wiki link
    http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService#FAQ-Models-AdaptiveWebService-WhatarethefunctionalgapsofthecurrentAdpativeWSModelImporter%3F
    On executing the service now through web dynpro we are getting the below error
    "Web service response contains SOAP Headers with "mustUnderstand" true which are not handled by the client runtime"
    Any thoughts on how to handle this mustUnderstand attribute with some code snippet? Appreciate all help.
    Thanks,
    KN.

    Hi
    Have you found the workaround?
    Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
    BR

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • Web Service is not getting activated

    Hi Experts,
    We don't have PI in our landscape that's why I enhanced the web service 'BusinessPartnerSUITEBulkReplicateRequest_In' with some 'Z' fields directly in MDG box and also created binding in 'SOAMANAGER' for above service and it is showing as active.
    Now, when I am going to these service via 'SPROXY' and trying to save I am getting error 'Proxy Generation: Error Occured', please find attached screensot.
    And when I am trying to activate, its not activating and giving error 'Service Provide INTFII_MDG_BP_RPLCTRQ', please find attached screenshot.
    Regards,
    Sudhir Wakodikar

    Hi Reema,
    Thanks for your reply.
    But here I am not doing replication, I am working on initial upload of vendor master.
    For all the standard fields its working fine.
    but we have some 'Z' fields so I enhanced the web service with 'Z' fields after that I am not able to save and activate the web service.
    Please find above screenshot for error.
    Please let me know if I am missing some setting or anything.
    Thanks,
    Sudhir

  • Web Service Tool - to add the attribute (to get a new TAG) for existing Obj

    Hi Gurus
    I have existing (productive) object name which we use for Letter Templates
    I need to add the new attribute but when I select it (highlight) the buttom below "Confirm selection" is not active, so when I got to "Maintain Attributes" I can't see my attribute there...
    Question is - how to do that?
    Do I need to got ot Settings first and make my WS "Not Productive" (what is the sequence)?
    Or I need to create a NEW web service (to re-place the current one) ?
    Thank you.

    hi There,
    Once the service is made Productive you can not make any changes.
    So first change it to non productive.
    Then add the attributes and again set it to productive.
    Hope this helps.
    Regards,
    Suchita

  • Web Service Authentication using Microsoft Active Directory

    Hi
    Is there a way to create Oracle Java Web Services that requires authentication using Active Directory?
    Regards,
    Néstor Boscán

    If you use the SOA Suite the Oracle Web Service Manager is included in there. Using this you can add steps that will authenticate against an AD.
    cu
    Andreas

  • Publishing as web service an application that connects with Oracle 8i

    Hi.
    I have to execute a stored procedure in a 8i database (database migration or upgrade is not a possibiity). I have to incorporate this into an ADF 11g App and I've tried it making another project and using the 10g jdbc driver which allows me to execute that SP.
    When I execute SP call, everything is OK, but when I try to call from the main app, there are conflicts with 11g driver and execution fails, because, I think, in the classpath is first 11g driver reference and it uses this river class instead 10g drivers.
    Now I'm trying with a separate app which just call the SP. I put the same code, and again when I run it as standalone app everything is OK, but when I deploy it as a web service and run it from WS test it doesn't work and again results in the same error above.
    java.lang.ArrayIndexOutOfBoundsException: 7
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:989)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at credito.wsutil.stage.SCL.execSpCartera(SCL.java:80)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstance
    Resolver.java:101)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstance
    Resolver.java:83)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethod
    Handler.java:264)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTub
    e.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:24
    9)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
    ter.java:453)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
    apter.java:140)
    at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServl
    etAdapter.java:298)
    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:2
    11)
    at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:297)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3590)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any suggestions or another way to accomplish this functionality?
    Regards,
    DEMR

    Hi,
    This was what I did when I was trying to run Hibernate on Weblogic, it was conflicting with different versions of antlr.* packages in Weblogic. Then I added these lines for making Weblogic to use Hibernate's antlr libs instead of installed on Weblogic.
    So, I thought that it might help to solve your problem if Oracle drivers conflict with drivers pre-installed in Weblogic.
    Also can you please try to add in your weblogic-application.xml, if it still does not solve your problem unfortunately I don't know any other way to solve your problem.
    <prefer-application-packages>
      <package-name>oracle.jdbc.*</package-name>
    </prefer-application-packages> Edited by: Onur Aktaş on 30.Eyl.2009 08:31

  • Calling web service from oracle forms fails with ORA_JAVA.JAVA_ERROR

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://www.webservicex.net/CurrencyConverter.asmx?wsdl
    Calling the web service using JDeveloper works fine but from Oracle Forms returns ORA_JAVA.JAVA_ERROR; Unable to call out to Java, Invalid object type for argument 1
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    outString varchar2(2000);
    BEGIN
    jo:= CurrencyConvertorStub.new;
    --This will get the exchange rate from US Dollars to UK Sterling.
    rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD');
    message (float_.floatValue(RV));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    outString := Exception_.toString(ex);
    message(outString);
    END;
    Any help/ideas on this is greatly appreciated. Thanks.

    Yes, it is the message line - so basically this call fails => rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD'); and control goes in the exception block
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    Below is the code from java stub that was generated using JDeveloper by using web services stub/skeleton and associating the WSDL
    public Double ConversionRate(String FromCurrency, String ToCurrency) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "ConversionRate";
    String targetNamespace = "http://www.webserviceX.NET/";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"FromCurrency", FromCurrency});
    requestData.add(new Object[] {"ToCurrency", ToCurrency});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://www.webserviceX.NET/ConversionRate", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Double)fromElement((Element)responseData.elementAt(0), java.lang.Double.class);
    }

  • CVP 7.0(2) web service element, is it compatible with WCF

    I'm looking for documentation on the Web Service element in CVP 7.0(2).
    The element specs guide for 7.0 doesn't have any thing on it only the 8.0 guide, what does this mean.
    Should I just build something Java?
    I will be using it with microsoft WCF to pass dialer-voicemail call results to our inhouse database, any advise?
    I know that it is compatible with WSDL or SOAP models but I would like to see usage samples, etc.
    thanks

    I am sure the element specs for CVP 8.0 which describe the Web Service Element are applicable to 7.x. Cisco had not updated that document since 2008 and then it was an Audium document with no Cisco changes. So I think that what you read here about the three "technologies" it can talk to is accurate.
    There is probably more discussion on the use of this element at the CVP Developer's forum.
    I've always rolled my own with Web service calls - using Apache HTTP Client as the transport and JAXB for the parsing and marshaling, but this is because I tackled this problem at CVP 3.0, when there was no Web service element. So I developed an architecture and stayed with it. But I would like to explore the built-in WS element.
    Some samples would be good.
    Regards,
    Geoff

  • Problem with web service that returns an object with a String that have som

    Hi everybody:
    I have a problem with a web service I am doing, I have made a web service that returns a collection of objects, the objects have a set of properties, there is one property that is a String,this property consists in a text fragment that could have some characters that are considered special in XML like &, <, >, " and that's why when I execute the service from a client an exception is thrown:
    {code}
    Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
    at [row,col {unknown-source}]: [9,646]
    org.codehaus.xfire.fault.XFireFault: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT.
    at [row,col {unknown-source}]: [9,646]
    at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
    at org.codehaus.xfire.client.Client.onReceive(Client.java:410)
    at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
    at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
    at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
    at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
    at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
    at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
    at org.codehaus.xfire.client.Client.invoke(Client.java:336)
    at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
    at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
    at $Proxy0.search(Unknown Source)
    at cu.co.cenatav.webservices.client.Client.main(Client.java:26)
    {code}
    I know that this is happening because special characters are sent by the soap message but I don't know how to solve this problem.
    How could I avoid this exception ?
    I hope you can help me.
    Regards.
    Ariel

    Hi,
    BPEL and BPEL PM do not have a good support for SOAPENC-Array: it would be very difficult to create such an array in BPEL or to receive it and manipulate it.
    The (unfortunately very intrusive) work around is to change the WSDL of the service to use a XML type defined using XML schema. This is all the more painful that JDev 9.0.4 does not have strong support for complex types.
    In general though, I would highly recommend this best practice:
    1) Start by define the WSDL contract first
    2) Then generate the server side skeleton to implement it
    3) Use BPEL as the client to this contract.
    By starting with the contract first, you make sure that 1) your interfaces are clean and coarse grained.
    2) things like java objects, sessions, etc to not leak through the interface (which would be the worst thing that could happen because it would closely link the client and the server.
    Sorry for not being more helpful. This will get radically cleaner in Oracle AS 10.1.3.
    Edwin

  • Creating a Web Service Proxy for a transaction with Microsoft Visual Studio

    Hi experts out there,
    I have created a simple transaction which I'd like to call as a webservice. Getting the WSDL from an authenticated browser (from which I started the xMII Workbench) works fine. But when I try to create a Web Reference within my Visual Studio project I only get the following output:
    "XacuteWS" Description
    Methods
    Xacute ( LoginName As string ,  LoginPassword As string ,  InputParams As InputParams ) As Rowset
    I think this is because my visual studio is not authenticated with the xMII server. So is there any way to achieve this? I have to find a way to generate a .NET proxy for out xMII web services because otherwise it would be too complicated to use the web services from within our .NET applications.
    Thanks in advance for any hint on this topic!
    Achim

    Two comments:
    1) The generated proxy looks correct.  If you explore the generated code for the InputParams object and the Rowset object, they should represent the incoming and outgoing data structures for your transaction.  If not, and if you are returning an XML property type from the transaction, be sure that you have used the "Assign Reference Document" technique to tell MII what the structure of your outgoing document is (there are a few other discussion threads on that topic).
    2) Personally, I find it much easier to consume MII services from .NET code using a URL-based technique instead of a SOAP based technique.  Invoke the "Runner" servlet (see the documentation) and you'll get an XML document back, that will always be in the MII Rowsets/Rowset/Row format.  Also, it is "self describing" because it includes Column metadata information.  It is very trivial to load this into a .NET XmlDocument object and parse/process it.  In fact, doing a similar approach, I've been able to make MII services appear as ADO.NET tables/stored procedures to .NET code.
    Rick

  • Web service transported but not active in QA environment

    Hi all,
    In order to support a template document i've created a web service using the web service tool. All is working fine in DEV and all has been successfully transported to QA environment (I think). The web service objects have been included in the transport using transaction CRMOST_TRANSPORT and I see the web service in the web service tool in QA.
    Problem is that the web service is not active. In the web service tool I see the web service and see that the Active status is still available to be selected. When I select it I get the following errors:
    - Object type does not exist
    - Not possible to get data for service object
    - Activation cannot be performed in this client:
    - Details Changes to Repository objects are not permitted in this client
    I read somewhere that you have to do 'after import functions' for web services but don't know what!? Is it simply a matter of opening the client in QA and reactivating the web service in the Web Service Tool?
    Thanks,
    Patrick

    Hi Patrick ,
    Ihave a question.
    I created a webservice through CRM 7.0 Web Service Tool
    ie we went to Component WS_DESIGN_TOOL and executed the component and we Launched the tool ,
    using tool we created a Web service for Sales Order, Due to missing of some settings I guess it didnt ask for a Transport request and it went and saved in an ' Local Object'.
    Could you please help in explaining as what steps we need to configure to make sure that the web service goes and sits in a Transport which is required in moving it to QA System.
    Regards,
    Sijo

  • Web service security policies interoperability issue with WCF

    Hi,
    I've created a web service in Jdeveloper 11g which I have deployed to a stand alone weblogic server 10.3. I also created a web service proxy in Jdeveloper 11g that works perfectly. The service is using Wssp1.2-2007-Https.xml policy.
    I have the requirement of a C# consumer, but when I run svcutil to generate the client class and config, it throws the following warning:
    A security policy was imported for the endpoint. The security policy contains requirements that cannot be represented in a Windows Communication Foundation configuration. Look for a comment about the SecurityBindingElement parameters that are required in the configuration file that was generated. Create the correct binding element with code. The binding configuration that is in the configuration file is not secure.
    What security policy is compatible with WCF?
    Thanks,
    Miguel.

    I had the same issue and solved it like this:
    Create a signed certificate, import it into your keystore and use that as Signature Key alias in both the client as the server security. Make sure the user with the same name exists in the realm on the server.
    Hope this helps,
    Lonneke

Maybe you are looking for

  • How to find out what year model my Mac Mini

    I got a "message" dialog on screen from Apple telling me OSX Mavericks is available for free. The system requirements say my Mac Mini needs to be an "early 2009 or newer" model. I got my Mini at the Apple store in town in 2010, but for all I remember

  • Wifi headphones connection to tv

    I hae successfully charged and connected a pair of sony wifi headphones to an LG flat screen TV. Connected the cable to the headphone jack. Turned up the volume on the tv, but there is no volume generated from the headphones. I suspect I need to turn

  • Applying One effect to several clips (not tracks!)

    i have one track with about 40 clips in it of different cut up audio. i want to apply one effect to several different clips at once. how do i do that? i know how to apply the one effect to one clip, but if i try and shift click four different clips,

  • Formula Column with Prompt

    Hi, I have a doubt in Column formula. I have a grid with a prompt selection so that users can select a list of members which will be displayed as the columns. The grid also have a total column(formula column) at the end. For example, If the user sele

  • Different Video and Photo Time Information

    I am leaving in Paris, and recently toured the US west states for vacations. I changed my time zone to the CA time zone (using the main Iphone Preference application). When I came back, and imported my Photos and Videos with IPhoto, I discovered that