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

Similar Messages

  • Problem in Web service while return ICollection object

    I developed a webservice, that need to be return a ICollection object.
    while am doing this it showing an error that.
    <b>You must implement a default accessor on System.Collections.ICollection because it inherits from ICollection.</b>
    can u help me in this context
    my code is like
    ICollection iCollectionObj;
    [WebMethod]
    public ICollection GetResourceTypes()
    DirSearchBO dirObj = new DirSearchBO();
    iCollectionObj = dirObj.GetResouceTypes() as ICollection;
    return iCollectionObj;
    above code dirObj.GetResouceTypes() method return a collection that i explicitly converting to ICollection object and retuning....

    Is your patching is still in progrees?If you are patching for basis components then you can expect dumps and they will not allow you to login to the system sometimes .In this case we can perform import from os level to get rid of the issue.
    If your patching is in progress then I would prefer you to wait till it completes.And if this is happening after patching I request you to post log file entries.
    Srikanth.

  • Web Service not returning Boolean objects from DTO class

    Hi,
    I've seen posts reporting the same problem on other forums from a few years ago that are unresolved.
    I've created a service in NDS that has a method that returns some data via a DTO class. All the data is returned apart from those that are of type java.lang.Boolean. I thought the method names might be causing the problem so created a "get" method as well as an "is" method but it is still being ignored.
    I have tested this using the Portal Web Service Navigator and by using the service in Visual Composer 7.
    Is there a problem with Boolean data types in SAP Web Services ?
    Thanks
    Gary

    Hi Rich,
    No. In fact what happens is that in the se80 case, it returns 29 lines of results and in the wsadmin case it returns 25 lines of results. The web service/function module actually executes unit tests remotely by doing an RFC from the development system to the test system (where the unit tests are executed). In the se80 case, for one object, the unit tests execute correctly. In the wsadmin, the unit tests for that object don't execute hence returning less lines of result.
    In both cases, the users used to log in the web service or se80 are the same and the users for the RFC are the same.
    Thank you for your insight.
    Regards,
    Philon

  • Problem call Web Service SAML on PI 7.0

    Hi experts,
    I have a problem very estrange on one scenario and maybe somebody could help me:
    Our PI version is 7.0.
    The BPM has got the following steps:
    - Call WebService for get the SAML. Message Synchronous with request and response Authentification.
    - We add the Authentification Response on Envelope message.
    - Call web Service with Envelope, inside of this one there is the Authentification (step 1).
    The las Web Service always returns that the Authentification is error.
    We execute the same steps manually using SAOPGui program ( a free program for test WebService ) and the same steps works.. and the structures are the same, but on PI 7.0 never works.
    We researh on forums and we have seen that the SAML Authentification is soported only for PI 7.1.
    Could anybody confirm it? It is possible use SAML Authentification on PI 7.0? Are there other process to execute a SAML WebService using PI 7.0?
    Any response or any idea will be very appreciated.
    Thank you very much...
    Regards,
    Gemma

    It is possible use SAML Authentification on PI 7.0?
    at least the help section on 7.0 mentions the use of SAML...check this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/2388909a1d2de9e10000000a1553f7/frameset.htm
    Regards,
    Abhishek.

  • Infopath 2007 and SharePoint 2007 error with Web Service Submit and Recieve

    I have an InfoPath form with code. The code submits the form to SharePoint and to SQL DB through Web Service. The form has some workflow. When form is in a "New" state if submits to SharePoint and Database through custom web service. Works fine
    from both Client and SharePoint browser form. The database ID is returned to the form and then stored in a field. In second stage of workflow additional fields are shown for Supervisor to fill out. I then have an "update" web service to update the
    database. I set all the field values in the Web service then execute both the update Web Service and the SharePoint submit. I get an error (both if running from desktop or SharePoint) Error is
    "The string '' is not a valid AllXsd value"     
    I know sometimes this happens with dates. But I've got all the dates set. The funny thing is in the first submit there are 2 dates in the second submit there is one date. All are set the same and on the first submit no problem submits correct dates to SQL
    database through web Service. Second submit has 2 Boolean fields that I also default to a value of false. I've debugged and looked at all the values and everything has a value. I use delete NIL to make sure value in Web Service is set. I can save the data
    in the form but not submit it because I get the web service error. If I save the data in form and download it and copy all the values in the XML to my Web Service and invoke the web service works fine. So there is no error in the web service. The first
    submit submits both dates and some integer values. The only difference in second is the Boolean value but it is set to default of false for all checkboxes.  I'm going out of mind trying to see what could be wrong.   Also difference with second
    is it sends in the ID of the record that was set in form by result of first submit query sending back the DB value. That value is an integer but I also set correctly.
    Susan J. Swanger

    Hi Somatco,
    According to your description, my understanding is that you got an error when you ran report with xml type datasource.
    Please set the xml datasource credential to Use Windows Authentication (integrated security). More information, please refer to the link:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/530c29ab-7ed5-4c36-816a-910c0b51f4bd/xml-data-source-unable-to-authenticate-using-windows-authentication?forum=sqlreportingservices
    Here are some similar posts for you to take a look at:
    http://www.symantec.com/business/support/index?page=content&id=TECH190935
    http://social.msdn.microsoft.com/Forums/en-US/285e4e8c-d05c-48f8-b4f3-9d87988d823e/an-error-has-occurred-during-report-processing-rsprocessingaborted-query-execution-failed-for?forum=sqlreportingservices
    In addition, as this issue is related to SQL Server Reporting, I commend you create a new thread in SQL Server Reporting forum, more experts will assist you with SQL Server Reporting.
    SQL Server Report forum:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Displaying Web Service XML Return

    Hi,
    I'm looking for some help with web services. I have created a web service based on a PL/SQL package (using JDeveloper wizards) and deployed this successfully to Oracle 10g App server.
    I can execute the webservice through a java client and get each of the attributes defined in the WSDL.
    Now my problem is that I need to be able to execute the webservice through a HTML page and have the resultant SOAP/XML passed through to the HTML page so it can be dealt with by the Stylesheet. I cannot get the XML to be passed through to the calling HTML page.
    I have a HTML/JS page that can execute the service - but it does not return anything which I think is because the webservice doesn't have an explict return in it.
    Any help would be most appreciated.
    Regards
    Neil Catton

    Please install patch from OSS note 506603. This should correct the problem.

  • Please help with web services (JSR 172)

    Hello!
    I'm in need of some help. I've only worked with web services some few weeks. I have two web services that I want to access from J2ME.
    Both works nice in regular Java (J2SE). I use axis so with the help of WSDL2Java I got a working client.
    One of them has four operations
        public boolean tryToLoginUser( String username, String password ) {}   
        public boolean tryToLogOffUser( String username, String password ){}
        public boolean createUserAccount( String username, String password ){ }
        public boolean removeUserAccount( String username, String password ){ } The problem is when I want to use Sun's Wireless Toolkit 2.2 and create stubs that way with the Stub Generator. It complains with this
    warning: Operation tryToLoginUser is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.
    warning: Operation tryToLogOffUser is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.
    warning: Operation createUserAccount is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.
    warning: Operation removeUserAccount is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.What I can tell is I need to put this in my axis deployment descriptor
    <service name="UserWebService" provider="java:RPC" style="document" use="literal">instead of this:
    <service name="UserWebService" provider="java:RPC">This wont work. It don't work with HTTP GET I get this error
      <?xml version="1.0" encoding="UTF-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <soapenv:Body>
    - <soapenv:Fault>
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
    - <detail>
      <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">slukare</ns1:hostname>
      </detail>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>I doesn�t work with WSDL2Java and when I run Sun's Wireless Toolkit 2.2 to generate stub it complains with
    warning: ignoring operation "tryToLoginUser": more than one part in input message
    warning: ignoring operation "tryToLogOffUser": more than one part in input message
    warning: ignoring operation "createUserAccount": more than one part in input message
    warning: ignoring operation "removeUserAccount": more than one part in input message
    warning: Port "UserWebService" does not contain any usable operationsDoes this mean I can only use one parameter for input in an operation when I use style="document" use="literal" ??
    I understood it that way, so I created a new web service that takes username and password in one String.
    The new web service has four operations
        public boolean tryToLoginUser( String usernameAndPassword ) {}   
        public boolean tryToLogOffUser( String usernameAndPassword ){}
        public boolean createUserAccount( String usernameAndPassword ){ }
        public boolean removeUserAccount( String usernameAndPassword ){ }The problem is that I get this error when running HTTP GET.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <soapenv:Body>
    - <soapenv:Fault>
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
    - <detail>
      <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">slukare</ns1:hostname>
      </detail>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>If I get a WSDL2Java client it works (!) if I manually changes the parameter names. I have four operations which all takes
    String usernameAndPassword
    in one String since I can only use one parameter with style="document" use="literal"
    The WSDL2Java automatically set the parameter names to
    usernameAndPassword
    usernameAndPassword1
    usernameAndPassword2
    usernameAndPassword3
    for the different operations. If I manually changes them to all have the name
    usernameAndPassword
    it works. Why doesn�t it work without manual changes? I haven�t tested the code from Sun�s Wireless Toolkit 2.2 Stub Generator yet, but that at least doesn�t give any errors .
    My other web service doesn�t work either if I set style="document" use="literal".
    This web service returns my own classes I have written. It works as I said previously in J2SE with WSDL2Java, but not with style="document" use="literal�. When I set this my byte[] which is returned is null when using the client from WSDL2Java, this wasn�t the case without style="document" use="literal�.
    I also get an error in Sun�s Wireless Toolkit 2.2 that byte[] is not recoigniced. This wasn�t the case with axis WSDL2Java.
    If I put this inside the axis deployment descriptor
    <deployment xmlns="http://xml.apache.org/axis/wsdd/"
             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
           <service xmlns:j2melab2="urn:businessobject.j2melab2"
                     name="RecipeWebService" provider="java:RPC" style="document" use="literal">
              <parameter name="scope" value="session"/>
              <parameter name="className" value="j2melab2.webservices.RecipeWebService"/>
              <parameter name="allowedMethods" value="*"/>
                    <typeMapping qname="j2melab2:ArrayOfString"
                                 type="java:java.lang.String[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
                    <beanMapping qname="j2melab2:Recipe" languageSpecificType="java:j2melab2.businessobject.Recipe"/>         
                    <beanMapping qname="j2melab2:Ingredient" languageSpecificType="java:j2melab2.businessobject.Ingredient"/>         
                    <typeMapping qname="j2melab2:ArrayofIngredient"
                                 type="java:j2melab2.businessobject.Ingredient[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
                    <typeMapping qname="j2melab2:ArrayOfByte"
                                 type="byte[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>                            
         </service>
    </deployment>instead of this
    <deployment xmlns="http://xml.apache.org/axis/wsdd/"
             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
           <service xmlns:j2melab2="urn:businessobject.j2melab2"
                     name="RecipeWebService" provider="java:RPC">
              <parameter name="scope" value="session"/>
              <parameter name="className" value="j2melab2.webservices.RecipeWebService"/>
              <parameter name="allowedMethods" value="*"/>
                    <typeMapping qname="j2melab2:ArrayOfString"
                                 type="java:java.lang.String[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
                    <beanMapping qname="j2melab2:Recipe" languageSpecificType="java:j2melab2.businessobject.Recipe"/>         
                    <beanMapping qname="j2melab2:Ingredient" languageSpecificType="java:j2melab2.businessobject.Ingredient"/>         
                    <typeMapping qname="j2melab2:ArrayofIngredient"
                                 type="java:j2melab2.businessobject.Ingredient[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
         </service>
    </deployment>axis WSDL2Java won�t work anymore. And Sun�s Wireless Toolkit doesn�t work either with this. How can I get this to work with Sun�s Wireless Toolkit 2.2?
    So my questions are:
    Do I really need style=�document� use=�literal� for J2ME?
    Can I only have one parameter as input when I use style=�document� use=�literal� ?
    Why do I need to manally change the parameter names?
    How can I make Sun�s Wireless Toolkit 2.2 understand byte[] ?
    Many thanks for help :) (I have to present a solution in 1 � week to my J2ME teacher L).

    hi,
    i was wandering if you manage to successfully generate the stubs through the wireless toolkit at the end? i am currently having similar problem (i.e., trying to generate stub files based on wsdl from axis)? it seems that the WTK can only handle document/literal format, and so i change the wsdl to that. however, now it complains that it can't handle more than one input part in the message, (which is similar to the problem you had). so did you manage to find a solution to that, or J2ME simply does not support more than one arguement as the input?
    thanks in advance,
    lee

  • Classical Order with Order lines entry with Web Service

    Hello all,
    I want to create a application in ADF that calls a web service for order entry. The Web service accepts an Order Object which contain a array of Order Lines Objects. This is a web service with a complex input object and I think the best is use a jax-ws proxy with a PoJo Data Control.
    But my problem is how can I make a suitable user interface for this? How can I create a Form where I can enter the Order Lines? I can bind a Table to this array but then I can only add 1 OrderLine.
    Thanks, Joost

    I found out that it is possible to bind the OrderLines to a table and add a button to the jsp with the following code in a backing bean:
    BindingContext bc = BindingContext.getCurrent();
    DCBindingContainer bindings = (DCBindingContainer)bc.getCurrentBindingsEntry();
    DCIteratorBinding dcib = (DCIteratorBinding) bindings.get("orderlinesIterator");
    RowSetIterator iter = dcib.getRowSetIterator();
    Row newRow = iter.createRow();
    iter.insertRowAtRangeIndex(0, newRow);
    This create a new row and everything works fine in combination of the Web Service!
    Joost

  • No result while creating a service consumer with Web Service Wizzard

    Hi,
    I've tried to create a service consumer with Web Service Wizzard in SE80 by using URL/HTTP Destination but nothing happens. After the popup with logondata for the WSDL I get the CRM start screen and nothing has been created in the given package.
    technical details:
    I use a CRM 5.0 system with SP15 (SAPKB70015).
    I created the provider service at a 7.10 system with SP5 (SAPKB71005) via SPROXY, SOAMANAGER and WSPUBLISH and get the WSDL-URL from Service Registry.
    The Service Registry of the 7.10 system serves as central Service Registry.
    Has anybody an idea ?
    Christoph

    Guy,
    Thanks for your reply.
    This problem has been solved. Since I haven't turned on everything that to use transaction SOAMANAGER needs. After complete the switch-on works, the problem never happens again.
    Thanks again.

  • 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

  • How to do a InsertOrUpdate with web services 2.0

    I understand that InsertOrUpdate method is just valid for Web Services 1.0.
    a) Is there a way to do it with web services 2.0 ? I imagine using a query and then Update or Insert.
    b) if we decide to use web services 1.0 would there be any cons ? (besides a possible performance issue as in the documentation)
    c) InsertOrUpdate uses the record "user key" for identification. If need to identify using another field, I suppose that the only way is thru query, etc. Any other ideas ?
    Txs. for any help.
    Antonio

    Hello Antonio,
    I understand that InsertOrUpdate method is just valid for Web Services 1.0.Correct, the InsertOrUpdate method is not available in WS v2.0.
    a) Is there a way to do it with web services 2.0 ? I imagine using a query and then Update or Insert.That is one possibility, however it means that every insert or update would consist of two operations. I would suggest reviewing your requirements and expected use cases for a way to determine whether a record is being inserted or updated within CRMOD. The specific approach would depend on whether how the records to be entered into CRMOD are compiled (i.e. user interaction vs. batch sync component)
    b) if we decide to use web services 1.0 would there be any cons ? (besides a possible performance issue as in the documentation)There are some objects that are not supported for WS v1.0 as well as the fact that field coverage is not as complete as the WS v2.0 interface.
    c) InsertOrUpdate uses the record "user key" for identification. If need to identify using another field, I suppose that the only way is thru query, etc. Any other ideas ?Only certain fields or sets of fields can be used as a user key. These are described in the WS user guide. You can query on other fields to find a record in CRMOD but a unique value must be provided to identify a record for an update operation.
    Thanks,
    Sean

  • Problem consuming Web Service from ECC 6.0 using dual certificates

    Hi, I am trying to consume a secure web service on ECC 6.0 - so far without much luck.
    When I try to connect to the ws server, it seems there are three certificates in action: a CICS certificate for establishing the SSL connection, a 'root' certificate from the PKI certificate issuer, and a private certificate issued by the above issuer (please forgive me if a have the syntax wrong - certificates are not my primary line of work). So, using Trust Manager (STRUST), I have created a PSE named 'OES' and imported all three certificates into it.
    In SOAMANAGER I have set up the end-point using the WSDL-file and set the following parameters:
    - Authentication Method = X.509 Client Certificate
    - Trustworthiness Method = Holder of Key
    - Issuer = <issuer from the root certificate>
    - Name of Attester = <blank>
    - Validity of SAML Assertion = 180
    - Caching of SAML Assertions = False
    - Attester System Destination = <blank>
    - Name of Attester = <blank>
    - User = SRxxxWS
    - Password = <blank>
    - Client PSE = OES
    When I try to consume the web service, I can see in the log files that the CICS certificat is used for establishing the SSL connection but all I receive back is an HTTP 403 "Client Authentication Error". If I remove the CICS certificate from the PSE, the connection is not made.
    How do I make the client certificate available for the connection? Have I approached the problem from the wrong side? Has anybody experienced something similar? Any help will be highly appreciated.
    Thanks,
    Bo

    Hi,
    I am not Certificate expert either but you can get plenty of help from "Security" forum on SDN. I can help you bit with some related SAP notes and forum answers:
    See following notes :
    1324884 - Analysis of ABAP Web Service SOA Configuration
    1318906 - Trace analysis of SSL problems
    1319507 - Overview: Analysis of ABAP Web Service Configuration
    See this forum discussed about consuming secured ws in webdynbpro:
    Problem in Calling Secure Webservice.
    Articles:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2&overridelayout=true -
    Web Services Security Configuration Guide (discussed IBM and NW WS security but you can find some examples and hints there)
    Regards,
    Gourav

  • SQL Server 2008 Reporting Project - Invoke/Consume Web Service and Return Dataset in C# Code-Behind

    Hello,
    I have a Visual Studio 2010 C# class with a method that invokes/consumes a web service and returns an XML dataset. I am traversing through the parent/child nodes and parsing out the data then inserting it into a SQL Server 2008 R2 table for a join within
    another stored procedure. 
    Instead of using a 3rd party API to generate the PDF for this data, I am creating an SSRS report. The formatting will be easier and I can do a RenderFormat directly to PDF.
    Can I expect to be able to transfer the code-behind method to this report and have it be able to work with the web service the same way? It is a SOAP-based web service returning parent nodes and two levels of nested child nodes.
    I have also been researching the approach of calling the web service in the same stored procedure that is currently querying the physical tables (which is used to populate a gridview and PDF) but it looks like it may only be possible with a CLR stored procedure.
    Is it possible to implement a CLR stored procedure within an SSRS report? 
    Hope this makes sense. Any help, suggestion or point in the right direction would be greatly appreciated.
    Thanks,
    Buster

    Hi Buster,
    SSRS supports web service data source, we can call the SOAP-based web service in SSRS report directly. Then, we can use custom code in SSRS to parse the XML data. However, we won’t be able to join another data in SQL Server database.
    Reference:http://technet.microsoft.com/en-us/library/aa964129(v=sql.90).aspx#repservxmlds_topic3
    We cannot implement a CLR stored procedure within an SSRS report directly. In order to execute the CLR store procedure in a SSRS report, we have to execute it as text using the following code:
    Exec <stored procedure name>
    Reference:
    http://dotnetslackers.com/Community/blogs/bmains/archive/2009/01/15/executing-a-clr-stored-procedure-in-reporting-services.aspx
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Having problems starting Web Services... need help!

    I'm running Mac Server 10.5.7 currently configured for email and I've just decided to start hosting websites. The problem I'm having is that Web Services will fail to start with any sites configured. Web Services will start if I don't have any sites configured. I've messed around with the Terminal app using some advice from online posts, but that didn't help. I'm not even sure I did it right.
    http://discussions.apple.com/thread.jspa?messageID=9508628
    I tried to understand the error log, but I'm not savy enough to translate. Does anyone have any idea why this would be happening.
    Here's the log error:
    166.137.132.186 - - [25/Jun/2009:15:58:49 -0400] "GET / HTTP/1.1" 403 1043
    192.168.5.2 - - [25/Jun/2009:16:00:02 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:00:02 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:03:23 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:03:23 -0400] "OPTIONS * HTTP/1.0" 200 -
    166.137.133.190 - - [25/Jun/2009:16:03:36 -0400] "GET / HTTP/1.1" 403 1053
    192.168.5.2 - - [25/Jun/2009:16:03:41 -0400] "OPTIONS * HTTP/1.0" 200 -
    66.150.226.65 - - [25/Jun/2009:16:08:01 -0400] "GET /coupon.html HTTP/1.1" 404 1072
    66.150.226.65 - - [25/Jun/2009:16:08:08 -0400] "GET / HTTP/1.1" 403 1062
    208.99.193.6 - - [25/Jun/2009:16:09:34 -0400] "GET / HTTP/1.0" 403 1062
    192.168.5.2 - - [25/Jun/2009:16:10:11 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:10:12 -0400] "OPTIONS * HTTP/1.0" 200 -
    166.137.133.190 - - [25/Jun/2009:16:10:24 -0400] "GET / HTTP/1.1" 403 1053
    192.168.5.2 - - [25/Jun/2009:16:10:40 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:13:36 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:13:36 -0400] "OPTIONS * HTTP/1.0" 200 -
    166.137.132.179 - - [25/Jun/2009:16:13:47 -0400] "GET / HTTP/1.1" 403 1053
    192.168.5.2 - - [25/Jun/2009:16:15:23 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:15:23 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:15:23 -0400] "OPTIONS * HTTP/1.0" 200 -
    166.137.133.30 - - [25/Jun/2009:16:15:31 -0400] "GET / HTTP/1.1" 403 1053
    192.168.5.2 - - [25/Jun/2009:16:15:41 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:21:01 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:21:01 -0400] "OPTIONS * HTTP/1.0" 200 -
    192.168.5.2 - - [25/Jun/2009:16:21:01 -0400] "OPTIONS * HTTP/1.0" 200 -
    119.63.193.56 - - [25/Jun/2009:16:21:13 -0400] "GET /robots.txt HTTP/1.1" 404 1066
    166.137.133.137 - - [25/Jun/2009:16:21:31 -0400] "GET / HTTP/1.1" 403 1059
    192.168.5.2 - - [25/Jun/2009:16:21:40 -0400] "OPTIONS * HTTP/1.0" 200 -
    Any help would be greatly appreciated.
    Thanks in advance. -m

    So, I've read through all the documents and tried to apply what I've learned. I must say, I dove in head first. There's a lot to digest here. Maybe I'm reading too much.
    I ran the Terminal and 'sudo' command you requested. This is the result.
    "Syntax Ok."
    Since posting this question I've installed mySQL, but I'm not exactly sure what it does.
    I've tried changing to the httpd.conf file, but nothing is working. All I get when I type in "localhost" is cannot "connect to web server". At least before I was getting the "apple default page".
    Need some advice on how to get this all straightened out. Looks like I made a pretty good mess of things.
    Thanks for all the help!

  • Web service to return all employees

    Hi I am new to PeopleSoft but have managed to get the OVM template up and running now in virtual box and have the web services working again CI_CI_PERSONAL_DATA.  This returns data for a single employee.  How would I go about creating a web service to return all employee data in one response so that we and sync firstname, lastname etc with an external system?  Thanks

    Thanks Hakan,  I'm trying to create a web service for the find operation but each time the wsdl created starts with "wsdl:description"
    <?xml version="1.0"?>
    <wsdl:description name="CI_CI_PERSONAL_DATA.2" targetNamespace=
    instead "wsdl:definitions" as with the original one I created for the get operation.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:M477757.V1
    SoapUI is not happy about the new wsdl format.  Any ideas what I've done wrong?

Maybe you are looking for