Webservice Errors

Hello,
I'm currently running Oracle 9i (9.2.0.1).
I'm also using JDeveloper 10g Preview version.
Please note: I'm actually a Microsoft C#/SQL Server developer, however, I'm using oracle to test consuming a webservice I wrote in .NET. I'm relativly new to Oracle, but I have experience in programming Java.
Here's the problem: Using JDeveloper, I used one of the tools to create a stub/skeleton class from the WSDL of my webservice.
I then created my own simple class with a static function to call this stub/skeleton class in order to interact with the webservice.
This works fine.
Now I want to load these two classes into Oracle so that I can consume the webservice from a PL/SQL Wrapper in a storedprocedure/function.
This is where the problem begins.
When using the loadjava utility with -resolve, I get errors because various dependent classes are missing. It seemd like most of these classes were from org/apache/soap... so I located soap.jar and tried to load this into oracle.
When doing this, it started off OK, but then I got a whole bunch of "ORA-29534: referenced object could not be resolved" errors.
I then did a dependency check in JDeveloper and noticed a bunch of classes that were required. SO, after hunting down these classes in the jdeveloper directories, i finally got all the JAR files that I needed. (is there an easier way to do this?).
Anyways - now when I try to loadjava -resolve with these classes, most work, however some give errors.
SO, whats going on here!? How do I go about properly loading the classes/jar files needed when creating a simple web-service call from java?
Also: I noticed my version of Oracle runs JVM 1.3.x, and jdeveloper 10g is using JVM1.4.x... could this be an issue? Because I also noticed some "invalid class" errors when trying to load some of the required jdeveloper classes.
Anyways - some help would be GREATLY appreciated. I'm simply tring to: Call a web-service from a PL/SQL wrapped java class.
Thanks in advance for any assistance (and sorry for the long post!).

Hi,
Have you loaded the full Client SOAP stack that is necessary to enable your database to call web services?
see http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html
What version of the database are you using?
Rgds
Susan
JDeveloper PM

Similar Messages

  • NC Log Complete webservice error

    Hello,
    Before opening an OSS message, the rule is first ask the forum...
    So I have trouble with NC Log Complete webservice. When trying to invoke it from SOAP UI, I got the following error :
    No enum const class com.sap.me.nonconformance.ScrapOption
    When looking into the log, I see a nice Java dump, here is an extract...
    [EXCEPTION]
    javax.ejb.EJBException: (Failed in component: sap.com/meear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.xchange.ProductionFacadeSOBean.processNCLogCompleteMessage(com.sap.me.frame.Data,com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.xchange.ProductionFacadeSOBean@4e115fd7 for bean sap.com/meearxml|me.integration.xml.ejb-5.2.5.8-Base.jarxml|ProductionFacadeSO in application sap.com/me~ear.; nested exception is: com.sap.me.frame.mapping.data.MappingException: java.lang.reflect.InvocationTargetException
    Caused by: java.lang.IllegalArgumentException: No enum const class com.sap.me.nonconformance.ScrapOption.
    at java.lang.Enum.valueOf(Enum.java:196)
    at com.sap.me.nonconformance.ScrapOption.valueOf(ScrapOption.java:33)
    at com.sap.me.nonconformance.ScrapOption.fromValue(ScrapOption.java:44)
    ... 121 more
    Anyone has an idea ?
    If I submit the request though the production XML jsp page, with same parameter as in my SOAP UI request, it's ok.
    We are using ME 5.2.5.8.
    Thanks

    Hi  Mikhail
    I don't pass any scrap option, and I don't see any "scrap option" field in the WS definition...
    I see a ScrapComponentOption, but which is optional as I can see in the "documentation" (example will be nice anyway in the document)
    <me:ScrapComponentOption>
    When the disposition function Scrap is selected or a Scrap step is selected, this is the selected scrap option. Required if disposition function or selected step is a scrap step with multiple scrap options and components are assembled onto the current SFC.
    It's not clear what should go there and if I need to put something in...
    I know the request is quite complex and will not be displayed in a friendly format, but here it is...
    <br><br>
    &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT"&gt;
       &lt;soapenv:Header/&gt;
       &lt;soapenv:Body&gt;
          &lt;me:NCLogCompleteRequest_sync&gt;
             &lt;!Optional:&gt;
             &lt;me:MessageHeader&gt;&lt;/me:MessageHeader&gt;
             &lt;me:NCLogCompleteRequest&gt;
                &lt;me:SiteRef&gt;
                   &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                &lt;/me:SiteRef&gt;
                &lt;me:NcIncidentDone&gt;
                   &lt;me:ActivityRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:Activity languageCode="?"&gt;GYFFL2_NC&lt;/me:Activity&gt;
                   &lt;/me:ActivityRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:DateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:DateTime&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ResourceRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                   &lt;/me:ResourceRef&gt;
                   &lt;!Optional:&gt;
                   &lt;!Optional:&gt;
                   &lt;me:TotalDefectCount unitCode="?"&gt;1&lt;/me:TotalDefectCount&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ScrapComponentOption languageCode="?"/&gt;
                   &lt;me:SiteRef&gt;
                      &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                   &lt;/me:SiteRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:NcBeginDateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:NcBeginDateTime&gt;
                   &lt;!Optional:&gt;
                   &lt;me:NcCodeRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:NcCode languageCode="?"&gt;C11701&lt;/me:NcCode&gt;
                   &lt;/me:NcCodeRef&gt;
                   &lt;me:NcContext&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SfcRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                      &lt;/me:SfcRef&gt;
                   &lt;/me:NcContext&gt;
                   &lt;!1 or more repetitions:&gt;
                   &lt;me:NcData&gt;
                      &lt;!You may enter the following 4 items in any order&gt;
                      &lt;me:SfcRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                      &lt;/me:SfcRef&gt;
                      &lt;me:UserRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:UserId&gt;NGIE602&lt;/me:UserId&gt;
                      &lt;/me:UserRef&gt;
                      &lt;me:Sequence unitCode="?"/&gt;
                      &lt;me:IncidentDateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:IncidentDateTime&gt;
                   &lt;/me:NcData&gt;
                   &lt;me:NcEndDateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:NcEndDateTime&gt;
                   &lt;me:NcOwner&gt;
                      &lt;!Optional:&gt;
                      &lt;me:ResourceRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                      &lt;/me:ResourceRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:UserRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:UserId&gt;NGIE602&lt;/me:UserId&gt;
                      &lt;/me:UserRef&gt;
                   &lt;/me:NcOwner&gt;
                &lt;/me:NcIncidentDone&gt;
                &lt;me:NcLog&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ActivityRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:Activity languageCode="?"&gt;GYFFL2_NC&lt;/me:Activity&gt;
                   &lt;/me:ActivityRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:Component&gt;
                      &lt;!You may enter the following 3 items in any order&gt;
                      &lt;me:Item&gt;SL-CT00035&lt;/me:Item&gt;
                      &lt;!Optional:&gt;
                      &lt;me:Revision&gt;0010&lt;/me:Revision&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                   &lt;/me:Component&gt;
                   &lt;me:ComponentSfc&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                   &lt;/me:ComponentSfc&gt;
                   &lt;!Optional:&gt;
                   &lt;me:DateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:DateTime&gt;
                   &lt;!Optional:&gt;
                   &lt;me:DefectCount unitCode="?"&gt;1&lt;/me:DefectCount&gt;
                   &lt;!Optional:&gt;
                   &lt;!Optional:&gt;
                   &lt;me:FailureId languageCode="?"&gt;CURED&lt;/me:FailureId&gt;
                   &lt;!Optional:&gt;
                   &lt;me:NcCodeRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:NcCode languageCode="?"&gt;C11701&lt;/me:NcCode&gt;
                   &lt;/me:NcCodeRef&gt;
                   &lt;me:NcContext&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SfcRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                      &lt;/me:SfcRef&gt;
                   &lt;/me:NcContext&gt;
                   &lt;me:NcCustomData&gt;
                      &lt;me:Attribute languageCode="?"&gt;CLASSIFICATION&lt;/me:Attribute&gt;
                      &lt;me:Value languageCode="?"&gt;SCRAP&lt;/me:Value&gt;
                   &lt;/me:NcCustomData&gt;
                   &lt;me:NcCustomData&gt;
                      &lt;me:Attribute languageCode="?"&gt;DISPOSITION_GROUP&lt;/me:Attribute&gt;
                      &lt;me:Value languageCode="?"&gt;ALL&lt;/me:Value&gt;
                   &lt;/me:NcCustomData&gt;
                   &lt;me:NcCustomData&gt;
                      &lt;me:Attribute languageCode="?"&gt;DISPOSITION_TYPE&lt;/me:Attribute&gt;
                      &lt;me:Value languageCode="?"&gt;S&lt;/me:Value&gt;
                   &lt;/me:NcCustomData&gt;
                   &lt;me:NcOwner&gt;
                      &lt;!Optional:&gt;
                      &lt;me:ResourceRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                      &lt;/me:ResourceRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:UserRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:UserId&gt;NGIE602&lt;/me:UserId&gt;
                      &lt;/me:UserRef&gt;
                   &lt;/me:NcOwner&gt;
                   &lt;me:OperationRef&gt;
                      &lt;!You may enter the following 3 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:Operation&gt;PRS&lt;/me:Operation&gt;
                      &lt;me:Revision&gt;A&lt;/me:Revision&gt;
                   &lt;/me:OperationRef&gt;
                   &lt;!Optional:&gt;
                   &lt;!Optional:&gt;
                   &lt;me:Quantity&gt;1&lt;/me:Quantity&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ResourceRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                   &lt;/me:ResourceRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:SiteRef&gt;
                      &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                   &lt;/me:SiteRef&gt;
                &lt;/me:NcLog&gt;
             &lt;/me:NCLogCompleteRequest&gt;
          &lt;/me:NCLogCompleteRequest_sync&gt;
       &lt;/soapenv:Body&gt;
    &lt;/soapenv:Envelope&gt;
    <br><br>Thanks

  • Proxy to webservice error while posting

    Dear Experts,
    I have a asynchronous Proxy to Webservice scenario.
    I am getting an error in receiver communication channel.
    1> ......Message processing started
    2> .......request entering
    3>........call completed
    4> .......error in response
    5> ......   Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP:response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
    My queries are
    if this is Asynchronous scenarion, why I am getting a point 4?    WSDL is of Sync type but I am using it as Async.
    what can be done to remore this error descripted above.
    Please help me to sort out his issue.
    Regards,
    Sumit Gupta

    Though you are calling the service asynchronously, in case of errors the fault message would be reported back by the adapter. I do not think you can get rid of this error unless you find the cause of the error and clear it. The object reference not set to an instance of an object usually comes in dot net services for not properly initializing an object of a class.
    VJ

  • Reg: webservices  error  in  xi

    Hi ,
    Iam new to xi and  had developed a http to web service scenario and the response i got an error
    Result:  
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText></SAP:Error>
    so in the receiver soap adapter  in module tab  i have given
    Module name - localejbs/AF_Modules/MessageTranspormationBean
    Type - Local Enterprise Bean Module - This is defined by the user, but the same name should be given in the module configuration for passing the parameters. In this case “transform” In the module configuration ,
    Module key - In this case “transform”
    Parameter name - TransformContenType
    Parameter Value - text/xml;charset=utf-8
    I got an error
    Result:  
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: local bean not found: localejbs/AF_Modules/MessageTranspormationBean</SAP:AdditionalText></SAP:Error>
    the websevice is
    http://www.webservicex.net/SendSMS.asmx?op=SendSMSToIndia
    Could any one help me out.
    Thanks & Regards,
    Gangadhar.S

    Hi Gangadhar
    If you are  new to SAP XI , then its better to read TIBIT. Below are the links of TIBIT which are very helpful in understanding the End-to-end process of XI. And you can even do some exercies here which are very helpful.
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    TBIT41:
    https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
    TBIT42:
    https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
    TBIT43:
    http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
    TBIT44:
    https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
    later you can follow this link which contains step by step blogs for http to webservices
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=httptoweb+service&adv=false&sortby=cm_rnd_rankvalue
    Thanks
    sandeep
    PS: if helpful plz reward points

  • Webservice error......

    Hi,
    I am getting the below error when i am calling webservice from SOAP UI client, i have authorization of SAP_ALL and SAP_NEW.
    Your help would be appreciated.
    Thanks in advance.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Header/>
       <soap-env:Body>
          <soap-env:Fault>
             <faultcode>soap-env:Server</faultcode>
             <faultstring xml:lang="en">CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0060807205412435000.Value  is not a valid date in accord with the XML format for ABAP</faultstring>
             <detail>
                <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
                   <Host>undefined</Host>
                   <Component>APPL</Component>
                   <ChainedException>
                      <Exception_Name>CX_SOAP_CORE</Exception_Name>
                      <Exception_Text>CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0060807205412435000.Value  is not a valid date in accord with the XML format for ABAP</Exception_Text>
                   </ChainedException>
                   <ChainedException>
                      <Exception_Name>CX_SXMLP</Exception_Name>
                      <Exception_Text>XSLT exception</Exception_Text>
                   </ChainedException>
                   <ChainedException>
                      <Exception_Name>CX_ST_DESERIALIZATION_ERROR</Exception_Name>
                      <Exception_Text>An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0060807205412435000: Main Program:/1BCDWB/WSS0060807205412435000| Program:/1BCDWB/WSS0060807205412435000| Line: 25| Valid:X</Exception_Text>
                   </ChainedException>
                   <ChainedException>
                      <Exception_Name>CX_SY_CONVERSION_NO_DATE_TIME</Exception_Name>
                      <Exception_Text>Value  is not a valid date in accord with the XML format for ABAP</Exception_Text>
                   </ChainedException>
                </ns:SystemFault>
             </detail>
          </soap-env:Fault>
       </soap-env:Body>
    </soap-env:Envelope>

    Hi Ashok,
                  looks like there is a mismatch in the Date and Time format being used by the server side program and the payload you are sending via SOAP UI client. To make sure that there is a consistency in the format please check the standard format for Date/Time in XML standards.
    Given below is a reference:
    http://www.w3schools.com/Schema/schema_dtypes_date.asp
    In short the Date-Time should be specified in UTC format as 'YYYY-MM-DDThh:mm:ss' where
    YYYY - indicates the year
    MM -  indicates the month
    DD - indicates the day
    T - indicates the start of the required time section
    hh - indicates the hour
    mm - indicates the minute
    ss - indicates the second
    There are certain variations to specify the Time zones etc. The details you can find in the above link or by googling "UTC time format".
    Please do get back if you still didn't get it solved.
    Regards
    Barada.

  • Webservice error messages

    Hi All
    I am using a web service to feed my flex application with
    data. When exceptions occur in the web service, I only get some
    generic error message in my fault handler. I would like to be able
    to get information such as error messages from the web service
    exceptions propagated to my web service fault handlers in my Flex
    Application.
    My web service is .Net based/C# and it is used in my Flex app
    by importing the WSDL file of the service.
    Here is an example with some code snippets:
    The web service has a HelloWorld webmethod which throws an
    exception. This webservice is imported into my flex app using the
    Data->Import Webservice feature, which autogenerates the
    webserivce class I am using. When I call the webservice from Flex,
    the fault handler is called but it only contains some generic error
    message.
    Code snippets: The C# webservice method which throws an
    exception:
    [WebMethod]
    public string HelloWorld()
    throw new Exception("Hello World Exception.");
    return "Hello World";
    And here is how I call the webservice in my FIex App:
    private function btnTestWebserviceClicked(event:Event):void
    var service:WebService = new WebService();
    service.addWebServiceFaultEventListener(faultHandler);
    service.addhelloWorldEventListener(webMethodDone);
    service.helloWorld();
    function webMethodDone(event:HelloWorldResultEvent):void
    Alert.show("Done", "Done");
    function faultHandler(event:FaultEvent):void
    Alert.show(event.fault.faultString, "Error");
    The information I can get from the faultEvent passed to the
    fault handler does not contain the error string but only the
    generic "HTTP request error" error message, and not the
    “Hello World Error String” which was passed to the
    exception thrown in the webservice.
    So my question is: How can I get information from web service
    exceptions propagated to my fault handlers in Flex?
    Any help, advice or pointers to articles will be much
    appreciated.
    Best regards Stig Nielsson

    Hi Stig,
    The root cause of the problem is that the body of the 500
    status code isn't returned to the flash player from the browsers.
    This prevents the Flash Player from passing it along to you. Keep
    in mind that the FlashPlayer is just a control that runs within the
    browser; as a result it's restricted by what the browser provides
    to it. The body of a 500 error message isn't one of the things
    provided to it.
    The Flash Player needs to play to the least common
    denominator and while some browsers do provide the web service's
    500 error body the Flash Player requires ubiquity. This is why the
    feature isn't implemented within the Flash Player... when all
    browsers provide this data then Adobe needs to add the feature.
    Adobe has logged a bug on these issues with the browser companies.
    To workaround the issue use LCDS or BlazeDS as proxies. They
    have been coded to return a 200 status response instead of the 500
    error allowing you to access the error message. Adobe has been
    aware of this issue and this is the suggested resolution to the
    problem. It's not ideal but it's the best we currently have
    available.
    Here's a great article that talks about this:
    http://blog.flexmonkeypatches.com/2008/05/16/soap-fault-messages-in-flexflash-player-error -2032-stream-error/
    -Kurt.

  • WebService : error to retrieve big result gzip encoded

    Hi, I have a strange error with Results from Webservice SOAP
    when data is encoded in gzip or deflate mode.
    I have a webservice that return in non encoded mode a
    resultset of 95542 Bytes.
    The same resultset compressed in gzip is 8251 Bytes.
    No problem if there is no encoding between server and Flash
    Player (9,0,47 and 9,0,115 used)
    If Accept-Encoding header is set to gzip, deflate, then
    server send resultset encoded.
    Browser receive this resultset (trace with WireShark), but
    Flash Player don't load the result and the WebService go to timeout
    If I limit the data returned for this webservice by limiting
    number of rows returned, Flash is able to handle the result. For
    example : uncompressed data of 84070 Bytes give an encoded
    resultset of 7506 Bytes and theses data are well handled by flash
    player.
    I don't understand where is the problem.
    Does flash player have gzip decompression limitation ?
    Please help
    Thanks

    Hi, I have a strange error with Results from Webservice SOAP
    when data is encoded in gzip or deflate mode.
    I have a webservice that return in non encoded mode a
    resultset of 95542 Bytes.
    The same resultset compressed in gzip is 8251 Bytes.
    No problem if there is no encoding between server and Flash
    Player (9,0,47 and 9,0,115 used)
    If Accept-Encoding header is set to gzip, deflate, then
    server send resultset encoded.
    Browser receive this resultset (trace with WireShark), but
    Flash Player don't load the result and the WebService go to timeout
    If I limit the data returned for this webservice by limiting
    number of rows returned, Flash is able to handle the result. For
    example : uncompressed data of 84070 Bytes give an encoded
    resultset of 7506 Bytes and theses data are well handled by flash
    player.
    I don't understand where is the problem.
    Does flash player have gzip decompression limitation ?
    Please help
    Thanks

  • Error during invokation of webservices: "error: unknown java type:"

    hi,
    I'm having issues with invoking a webservice from the "WebLogic Test Client". The webservice exposes the methods from a stateless session EJB and Weblogic Workshop was used to create the webservice controls
    Weblogic version: 10.0 mp1
    Pls. advise.
    Error message ...
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>error: unknown java type: com.margin.engine.entity.ClientSet</faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">com.bea.xml.XmlRuntimeException: error: unknown java type: com.margin.engine.entity.ClientSet
    at com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
    at com.bea.staxb.runtime.internal.MarshalResult.addError(MarshalResult.java:265)
    at com.bea.staxb.runtime.internal.AnyTypeRuntimeBindingType.determineActualRuntimeType(AnyTypeRuntimeBindingType.java:84)
    at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getActualRuntimeType(RuntimeBindingProperty.java:110)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkRankOneSoapArray(PushMarshalResult.java:570)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkSoapArray(PushMarshalResult.java:534)
    at com.bea.staxb.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:437)
    at com.bea.staxb.runtime.internal.SoapArrayRuntimeBindingType.accept(SoapArrayRuntimeBindingType.java:59)
    at com.bea.staxb.runtime.internal.PushMarshalResult.writeContents(PushMarshalResult.java:192)
    at com.bea.staxb.runtime.internal.PushMarshalResult.marshalTopType(PushMarshalResult.java:93)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:302)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:435)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:175)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:95)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:284)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:205)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:192)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:119)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:128)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:135)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:108)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>

    Olivier, thank you so much
    SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
    I think the problem is related to user rights/profiles.
    I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
    Probably the new entry in SICF will be created after activating WS in SE80...
    Do u know what user profile should I add in order to properly activate the WS in SE80?
    Thank you very much!
    Vicente

  • What's your strategy for WebService errors that aren't raised through fault handler?

    Is there a way to underride the default functionality of
    WebService.as? I can't find the source code in the SDK, so I'm
    assuming this part of Flex isn't Open Source.
    I find that using WebServices that there are a lot of errors
    that potentially occur that I can't capture in the UI. Or, let me
    rephrase that, that I haven't been able to figure out how to
    capture in the UI.
    For example, the following "Could not load WSDL" error
    occurs. Now, I could probably devise a strategy around checking
    that the connection is alive and such, but then I've seen other
    errors that occur in the WebService base classes that are all fired
    asyncronously.
    Is there a way to add a default handler that capures these
    types of errors? (They're not captures by FaultHandlers).
    I can't have a UI that displays the big white box to end
    users with a stack trace. Thanks.
    [RPC Fault faultString="Could not load WSDL"
    faultCode="Server.NoServicesInWSDL" faultDetail="No
    <wsdl:service> elements found in WSDL at ."]
    at
    mx.rpc.wsdl::WSDL/getService()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc \wsdl\WSDL.as:256]
    at
    mx.rpc.wsdl::WSDL/getPort()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDL.as:182]
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[E:\dev\flex_3_beta3\sdk\framewor ks\projects\rpc\src\mx\rpc\soap\WebService.as:267
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.rpc.wsdl::WSDLLoader/checkLoadsOutstanding()[E:\dev\flex_3_beta3\sdk\frameworks\projec ts\rpc\src\mx\rpc\wsdl\WSDLLoader.as:195]
    at
    mx.rpc.wsdl::WSDLLoader/resultHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\s rc\mx\rpc\wsdl\WSDLLoader.as:173]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\flex_3_beta3\sdk\fra meworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:175
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\flex_3_beta3\sdk\framew orks\projects\rpc\src\mx\rpc\AbstractInvoker.as:198
    at
    mx.rpc::Responder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Res ponder.as:48]
    at
    mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx \rpc\AsyncRequest.as:81]
    at
    DirectHTTPMessageResponder/completeHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\ rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I found out at FlexCOders, that when I'm not using the Debug
    version of the Player that these errors should correctly propogate
    to the Fault handler.

  • SimpleDeserializer encountered a child element..webservice error

    when I invoke a webservice using Oracle stored procedure,I'm getting the fault response below :
    HTTP response status code: 500
    HTTP response reason phrase: Internal Server 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/XMLSchemainstance"><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/">suznt266.qintra.com</ns1:hostname></detail></soapenv:Fault>
    </soapenv:Body></soapenv:Envelope>
    Any ideas about the cause and resolution?..
    Thanks in advance!!!!
    Regards,
    Bhagat

    If you posted the whole WSDL file, it would be more helpful.
    I suppose your WSDL uses rpc/encoding. Both operations in your WSDL expects only one parameter of xsd:float. Well your client code passed an array float(new Object[] {new Float(3)}).
    This should have caused the exception.

  • BPFs and WebServices Error

    Experts --
    My BPFs are only loading intermittently.  When they don't load I get this error message.  I have reset IIS Server (iisreset).
    Thanks for any help you can provide... 
    <h6>
    System.Net.WebException: The operation has timed-out.
       at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at OSoft.Services.Webservice.BPFProxy.BPFService.BPFService.Query(String strQueryType, String strParameter, String strContext, String strSecurity)
       at OSoft.Services.Webservice.BPFProxy.BPFProxy.GetBPFContents(String strAppSet, String strApp, String strBPFID, String strDataRegion)

    Hello Marvin,
    It would be helpfull if you could inform us about the SAP BPC and SQL Server version used.
    But I can still inform you this has been verified as a bug and has been fixed in SAP BPC SP1 version.
    Regards,
    Jean

  • Active directory Webservice error

    I have installed and configured the active directory authentication webservice. I get the following error when I try to synchronize. Does anybody know the reason for the error?
    Apr 28, 2006 11:35:13 AM- Sync Agent is processing memberships.
    Apr 28, 2006 11:35:13 AM- ERROR: Authentication source sync agent failed to synchronize user and group memberships to parent group '9fa1505c-7ece-4f55-8d7a-76fa78684605' (ID=276).
    *** Exception was: com.plumtree.server.impl.soap.OpenSoapException: Error in function AWSProvider.GetMembers (sUniqueGroupName == '9fa1505c-7ece-4f55-8d7a-76fa78684605'): Error in function SOAPEnvelope.Restore (arrayText == [B@23bdd1): SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Collection index must be in the range 1 to the size of the collection. Error in GetChildUsers
    at com.plumtree.remote.auth.xp.XPSyncProvider.LogAndRethrow(IOKLogger logger, String functionName, Exception e) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 786
    at com.plumtree.remote.auth.xp.XPSyncProvider.loggingGetChildUsers(IXPGroup group) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 541
    at com.plumtree.remote.auth.xp.XPSyncProvider.GetMembers(String groupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 429
    at Plumtree.Remote.Auth.So
    ap.SyncProviderSoapBinding.GetMembers(String GroupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\dotnet\soap\SyncProviderSoapBinding.asmx.cs:line 208
    --- End of inner exception stack trace ---'
    at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:371)
    at com.plumtree.server.impl.users.providers.AWSProvider.GetMembers(AWSProvider.java:622)
    at com.plumtree.automationserver.agents.PTAuthSourceAgent.ProcessSingleGroupMemberships(PTAuthSourceAgent.java:3599)
    at com.plumtree.automationserver.agents.PTAuthSourceAgent.ProcessMemberships(PTAuthSourceAgent.java:2203)
    at com.plumtree.automationserver.agents.PTAuthSourceAgent.PerformOperation(PTAuthSourceAgent.java:330)
    at com.plumtree.automationserver.shell.PTJobShell.perform(PTJobShell.java:628)
    at com.plumtree.automationserver.shell.PTJobShell.runJob(PTJobShell.java:210)
    at com.plumtree.automationserver.shell.PTJobShell.run(PTJobShell.java:100)
    Caused by: com.plumtree.server.impl.soap.OpenSoapException: Error in function SOAPEnvelope.Restore (arrayText == [B@23bdd1): SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Collection index must be in the range 1 to the size of the collection. Error in GetChildUsers
    at com.plumtree.remote.auth.xp.XPSyncProvider.LogAndRethrow(IOKLogger logger, String functionName, Exception e) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 786
    at com.plumtree.remote.auth.xp.XPSyncProvider.loggingGetChildUsers(IXPGroup group) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 541
    at com.plumtree.remote.auth.xp.XPSyncProvider.GetMembers(String groupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 429
    at Plumtree.Remote.Auth.Soap.SyncProviderSoapBinding.GetMembers(String GroupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\dotnet\soap\SyncProviderSoapBinding.asmx.cs:line 208
    --- End of inner exception stack trace ---'
    at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:371)
    at com.plumtree.server.impl.soap.SOAPEnvelope.Restore(SOAPEnvelope.java:68)
    at com.plumtree.server.impl.webservice.PTWebService.Invoke(PTWebService.java:1017)
    at com.plumtree.server.impl.webservice.PTWebService.Invoke(PTWebService.java:906)
    at com.plumtree.server.impl.users.providers.AWSProvider.GetMembers(AWSProvider.java:616)
    ... 6 more
    Caused by: com.plumtree.server.impl.soap.Ope
    nSoapException: SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Collection index must be in the range 1 to the size of the collection. Error in GetChildUsers
    at com.plumtree.remote.auth.xp.XPSyncProvider.LogAndRethrow(IOKLogger logger, String functionName, Exception e) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 786
    at com.plumtree.remote.auth.xp.XPSyncProvider.loggingGetChildUsers(IXPGroup group) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 541
    at com.plumtree.remote.auth.xp.XPSyncProvider.GetMembers(String groupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 429
    at Plumtree.Remote.Auth.Soap.SyncProviderSoapBinding.GetMembers(String GroupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\dotnet\soap\SyncProviderSoapBinding.asmx.cs:line 208
    --- End of inner exception stack trace ---'
    at com.plumtree.server.impl.soap.SOAPParser.LoadInternal(SOAPParser.java:681)
    at com.plumtree.server.impl.soap.SOAPParser.LoadBinary(SOAPParser.java:590)
    at com.plumtree.server.impl.soap.SOAPEn<i></i>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I am able to import one group. The users in this group doesn't get imported, instead it imports 1 user with the same name as the group.
    The following are the job logs:-
    May 2, 2006 12:37:13 PM- Starting to run operations (1 total) for job 'Active Directory AS Job'. Will stop on errors.
    May 2, 2006 12:37:13 PM- *** Job Operation #1 of 1: AuthSource Agent [Run as owner 'Administrator']
    May 2, 2006 12:37:13 PM- Creating the Everyone In Auth Source group (if one doesn't already exist).
    May 2, 2006 12:37:13 PM- **********************************************************************************
    May 2, 2006 12:37:13 PM- Sync Agent is processing groups.
    May 2, 2006 12:37:14 PM- **********************************************************************************
    May 2, 2006 12:37:14 PM- Sync Agent is processing users.
    May 2, 2006 12:37:14 PM- ActiveDirectory\Technology - Portal
    May 2, 2006 12:37:14 PM- **********************************************************************************
    May 2, 2006 12:37:14 PM- Sync Agent is processing memberships.
    May 2, 2006 12:37:14 PM- ERROR: Authentication source sync agent failed to synchronize user and group memberships to parent group '9fa1505c-7ece-4f55-8d7a-76fa78684605' (ID=278).
    *** Exception was: com.plumtree.server.impl.soap.OpenSoapException: Error in function AWSProvider.GetMembers (sUniqueGroupName == '9fa1505c-7ece-4f55-8d7a-76fa78684605'): Error in function SOAPEnvelope.Restore (arrayText == [B@44d990): SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Collection index must be in the range 1 to the size of the collection. Error in GetChildUsers
    at com.plumtree.remote.auth.xp.XPSyncProvider.LogAndRethrow(IOKLogger logger, String functionName, Exception e) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 786
    at com.plumtree.remote.auth.xp.XPSyncProvider.loggingGetChildUsers(IXPGroup group) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 541
    at com.plumtree.remote.auth.xp.XPSyncProvider.GetMembers(String groupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 429
    at Plumtree.Remote.Auth.Soa
    p.SyncProviderSoapBinding.GetMembers(String GroupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\dotnet\soap\SyncProviderSoapBinding.asmx.cs:line 208
    --- End of inner exception stack trace ---'
    at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:371)
    at com.plumtree.server.impl.users.providers.AWSProvider.GetMembers(AWSProvider.java:622)
    at com.plumtree.automationserver.agents.PTAuthSourceAgent.ProcessSingleGroupMemberships(PTAuthSourceAgent.java:3599)
    at com.plumtree.automationserver.agents.PTAuthSourceAgent.ProcessMemberships(PTAuthSourceAgent.java:2203)
    at com.plumtree.automationserver.agents.PTAuthSourceAgent.PerformOperation(PTAuthSourceAgent.java:330)
    at com.plumtree.automationserver.shell.PTJobShell.perform(PTJobShell.java:628)
    at com.plumtree.automationserver.shell.PTJobShell.runJob(PTJobShell.java:210)
    at com.plumtree.automationserver.shell.PTJobShell.run(PTJobShell.java:100)
    Caused by: com.plumtree.server.impl.soap.OpenSoapException: Error in function SOAPEnvelope.Restore (arrayText == [B@44d990): SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Collection index must be in the range 1 to the size of the collection. Error in GetChildUsers
    at com.plumtree.remote.auth.xp.XPSyncProvider.LogAndRethrow(IOKLogger logger, String functionName, Exception e) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 786
    at com.plumtree.remote.auth.xp.XPSyncProvider.loggingGetChildUsers(IXPGroup group) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 541
    at com.plumtree.remote.auth.xp.XPSyncProvider.GetMembers(String groupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 429
    at Plumtree.Remote.Auth.Soap.SyncProviderSoapBinding.GetMembers(String GroupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\dotnet\soap\SyncProviderSoapBinding.asmx.cs:line 208
    --- End of inner exception stack trace ---'
    at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:371)
    at com.plumtree.server.impl.soap.SOAPEnvelope.Restore(SOAPEnvelope.java:68)
    at com.plumtree.server.impl.webservice.PTWebService.Invoke(PTWebService.java:1017)
    at com.plumtree.server.impl.webservice.PTWebService.Invoke(PTWebService.java:906)
    at com.plumtree.server.impl.users.providers.AWSProvider.GetMembers(AWSProvider.java:616)
    ... 6 more
    Caused by: com.plumtree.server.impl.soap.Open
    SoapException: SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Collection index must be in the range 1 to the size of the collection. Error in GetChildUsers
    at com.plumtree.remote.auth.xp.XPSyncProvider.LogAndRethrow(IOKLogger logger, String functionName, Exception e) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 786
    at com.plumtree.remote.auth.xp.XPSyncProvider.loggingGetChildUsers(IXPGroup group) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 541
    at com.plumtree.remote.auth.xp.XPSyncProvider.GetMembers(String groupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\xpj2c\impl\com\plumtree\remote\auth\xp\XPSyncProvider.cs:line 429
    at Plumtree.Remote.Auth.Soap.SyncProviderSoapBinding.GetMembers(String GroupID) in e:\latestbuild\Release\devkit\6.0.x\auth\src\dotnet\soap\SyncProviderSoapBinding.asmx.cs:line 208
    --- End of inner exception stack trace ---'
    at com.plumtree.server.impl.soap.SOAPParser.LoadInternal(SOAPParser.java:681)
    at com.plumtree.server.impl.soap.SOAPParser.LoadBinary(SOAPParser.java:590)
    at com.plumtree.server.impl.soap.SOAPEnv
    elope.Restore(SOAPEnvelope.java:65)
    ... 9 more                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Webservice error in browser. Not in SoapUI

    Hi everybody,
    I hope you can help me in solving a webservice issue...
    We are having a server in our network. This server has the IP 10.42.42.104. If you want to connect from the outside you must call 213.23.42.104. Then the firewall will redirect you to the server (10.42.42.104).
    I'm using JDeveloper 10.1.3.3 and OC4J 10.1.3.3 and developed a webservice to save xml in oracle database 10g R2. If I test the webservice local or inside of the network 10.42... it is working fine.
    But if I want test it from outside over the 213.23.42.104 IP address it is failling (only over browser, see below).
    What I did:
    - I gave permissions to ports 1521, 8888, 23791. So that all requests over 213.23.42.104 will come to 10.42.42.104.
    - In JDeveloper I created the connection to database and application server over 10.42.42.104 IP address (I tried also with 213... IP address)
    - I'm not using Proxy in the JDeveloper Properties
    - I deployed the webservice to instance
    Curious:
    In the wsdl file we have a command line like <soap:address location="http://10.42.42.104:8888/VPN_Webservice-VPN_Webservice-context-root/VPN_WebserviceSoapHttpPort"/>.
    If I paste the URL in browser inside the network the web frontend of the webservice will open and I can test it successfully.
    If I change now the URL in browser to 213.23.42.104 I can again see the web frontend of the webservice. But after invoking I'm getting this error: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
    BUT:
    If I change the URL in the saved wsdl file of my JDeveloper and import that in SoapUI I can use the webservice also successfully. Then it is working fine. Only the request over browser is failing with the above error.
    Is here somebody who can help me?
    I'm so confused right now and I don't have any ideas...
    Thanks a lot!
    Regards David

    PHP packages from Fedora repositories usually do not contain OCI8 module. Your problem usually happens on the PHP installations that do not have OCI8 enabled. On the other hand, you are able to successfully connect to the database from the shell. That means that the PHP in your web server is not pointing to the same installation as the PHP executable in your path. The first thing to do is to check the httpd.conf, like this:
    [mgogala@dibidus conf]$ egrep -i 'loadmodule .*php' /etc/httpd/conf/httpd.conf
    LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
    # LoadModule php5_module modules/libphp5.so
    [mgogala@dibidus conf]$
    I had the same problem and had to comment out the delivered libphp5.so. That module did not have
    OCI8 enabled. Where did your libphp5 go? I am using CentOS 5.2:
    [mgogala@dibidus conf]$ cat /etc/redhat-release
    CentOS release 5.2 (Final)
    [mgogala@dibidus conf]$
    [mgogala@dibidus conf]$ uname -a
    Linux dibidus 2.6.18-92.1.10.el5.centos.plus #1 SMP Thu Aug 7 12:19:36 EDT 2008 i686 i686 i386 GNU/Linux
    [mgogala@dibidus conf]$
    That should be similar enough to Fedora 6 and 7. You should also create a "phpinfo" web page on
    /var/www/html and look for the exact versions and directories. Phpinfo page should look like this:
    <?php
    phpinfo();
    ?>
    That should give you all the information you need. Pay special attention to the directories and versions.

  • AutoVue WebService Error

    Hello,
    I am trying out AutoVue Web services, There is no DMS just with AutoVue Server Installation
    I keep getting "Cannot connect to jvueserver: http://localhost:8080/VueServlet/servlet/VueServlet", when calling any method on Web-Service other than Ping method, VueServlet and Test Applet pages are working fine,
    I can also see the WSDL when I browse to http://localhost:8080/AutoVueWS/VueBeanWS?wsdl, I can also call the Ping method and it returns following result:
    *[Ping]*
    Server Date/Time:Tue Oct 18 11:19:04 BST 2011Pool, Size: 1
    Max waiting time: 7200
    Pool, # of active: 0
    Pool, # of idle: 0
    AutoVue Client Build Number:7910
    AutoVue Client Build Date:2011-08-29
    initialJVueServer: http://localhost:8080/VueServlet/servlet/VueServlet
    vuelink Protocol(s): null
    vuelink PropsDir: C:/Oracle/AutoVueWS/autovue_webservices/sample_config/
    destination DIR: C:/temp
    log4j config file: C:/Oracle/AutoVueWS/autovue_webservices/sample_config/log4j.properties
    *[Ping]*
    Here is the sample code (C#)
    VueBeanWS ws = new VueBeanWS();
    string ping = ws.ping("");
    searchText[] text = ws.getText("http://localhost/sample.pdf", null);
    I also tried testing the Web-service with SoapUI but got the same error, here is the out-put
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Server</faultcode>
    <faultstring>java.net.ConnectException: Cannot connect to jvueserver: http://localhost:8080/VueServlet/servlet/VueServlet</faultstring>
    </S:Fault>
    </S:Body>
    </S:Envelope>
    My Environment Details:
    Windows 2008 R2 64 Bit, GlassFish (OpenSource Version) Server and AutoVue (No DMS), everything is running under Admin account and I am logged in as Admin
    Am I missing something?
    Thanks

    Hi Song
    Thanks for reply, I have replaced localhost with the machine name every where, but still get the same error,
    here are the content of web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>AutoVue WebService</display-name>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- If the VueServlet is being deployed in the same context as AutoVue Web Services, use this section to enable the VueServlet. Note it is recommended to deploy it on a separate server.
    <servlet id="csi_servlet">
    <description>update hostname and port number of AutoVue(JVueServer) here, default is: localhost:5099</description>
    <servlet-name>VueServlet</servlet-name>
         <servlet-class>com.cimmetry.servlet.VueServlet</servlet-class>
         <init-param>
              <param-name>JVueServer</param-name>
              <param-value>localhost:5099</param-value>
         </init-param>
         </servlet>
    <servlet-mapping id="csi_servletMapping">
         <servlet-name>VueServlet</servlet-name>
         <url-pattern>/servlet/VueServlet</url-pattern>
    </servlet-mapping>
    -->
    <env-entry>
    <description>enter the initial maximum size of jvue pool. Default is 1 (to accommodate large files)</description>
    <env-entry-name>maxPoolSize</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>1</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>maxPoolSize</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>
    maximum timeout (in seconds) while waiting to borrow from VueBean pool ( default : 7200 seconds)
    Make sure the thread timeout in the app server is at least the same as this number. (e.g. the Stuck Thread Max Time in the Weblogic.)
    </description>
    <env-entry-name>maxWait</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>7200</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>maxWait</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>enter the maximum allowed number of parallel print jobs per printer (default : 1) </description>
    <env-entry-name>maxParallelPrintJob</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>1</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>maxParallelPrintJob</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>enter the maximum allowed number of jobs in the buffer per printer (default : 5) </description>
    <env-entry-name>maxPrinterJobBuffer</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>5</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>maxPrinterJobBuffer</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>Minimum memory should be available in order to borrow VueBean (default : 128)</description>
    <env-entry-name>minMemory</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>128</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>minMemory</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>put full local path to log4j properties file</description>
    <env-entry-name>log4jPathFileName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>C:/Oracle/AutoVueWS/autovue_webservices/sample_config/log4j.properties</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>log4j</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>put a semicolon (;) separated list of vuelink protocols , if any .otherwise leave this empty</description>
    <!-- for example: <env-entry-value>vuelinkUCM;vuelinkSharePoint;vuelinkDCMT</env-entry-value> -->
    <env-entry-name>vuelinkProtocol</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value></env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>vuelinkProtocol</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>
    local full path to directory that contains vuelinks connection properties. please note
    that each protocol defined in 'vuelinkProtocol' section must have a file with the same name in this folder
    e.g. vuelinkUCM.properties , vuelinkSharePoint.properties , vuelinkDCMT.properties should be present for above example.
    </description>
    <env-entry-name>vuelinkPropsDir</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>C:/Oracle/AutoVueWS/autovue_webservices/sample_config/</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>vuelinkPropsDir</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>enter local directory for convert operation. web services package will output the convert result into this location (e.g. c:/output)</description>
    <env-entry-name>destinationDIR</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>C:/temp</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>destinationDIR</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>
    enter the AutoVue Web Services deployment information. replace hostname, port number, and context with proper values
    e.g. http://localhost:7003/VueServlet/servlet/VueServlet
    </description>
    <env-entry-name>initialJVueServer</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>http://win2k8-7:8080/VueServlet/servlet/VueServlet</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>initialJVueServer</injection-target-name>
    </injection-target>
    </env-entry>
    <env-entry>
    <description>enable/disable upload protocol (default: false)</description>
    <env-entry-name>isUploadProtocolEnabled</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>true</env-entry-value>
    <injection-target>
    <injection-target-class>com.oracle.autovue.services.VueBeanWS</injection-target-class>
    <injection-target-name>isUploadProtocolEnabled</injection-target-name>
    </injection-target>
    </env-entry>
    </web-app>

  • WebService Error: SoapFaultCode:3 SOAP header To was not understood

    Hello All,
    I am trying to consume a webservice. I have created a client proxy and a logical port for the webserive.
    But when i try to test the service consumer in SE80, i get the following error.
    SoapFaultCode:3 SOAP header To was not understood.
    Could you please help me out here.
    Thanks & regards
    Kassin

    >
    kassindro wrote:
    > Hello All,
    >
    > I am trying to consume a webservice. I have created a client proxy and a logical port for the webserive.
    > But when i try to test the service consumer in SE80, i get the following error.
    >
    > SoapFaultCode:3 SOAP header To was not understood.
    >
    > Could you please help me out here.
    >
    > Thanks & regards
    > Kassin
    Hallo Kassin,
    I do not know how you added the webservice hearder.
    Please refer the thread here with similar problem [Web Services Security using ABAP Proxies|Web Services Security using ABAP Proxies]
    Still not working then post your WDSL ,<SOAP-ENV:Header> tag
    Try to use XMLSpy or SOAP UI to test as alternative.

Maybe you are looking for

  • March 2013 Month make my Calendar app to crash!

    Hi, When I am in Month view, and change to March, the app. Crash. If I am in year view and selects March it crash. If I use week preview no problem. I se this on iPad 2 (newest ios) and on a iPad 1. It is a iPad isue only! Regards Henrik

  • Windows 7 starter OS and wireless connectivity

    Is it possible to to get wireless access for to a deskjet 4625 all in one printer through a laptop running Windows 7 starter - 32bit?  Thankyou

  • Problems using new apple earbuds

    I have just purchased and iPhone 5 and I'm unable to adjust the music volumes, play, pause, etc on the new apple EarPods. Any help would be much appreciated!!

  • RF packing

    Hi Guru's, I have a requirement where in i need to do RF packing for shipments. I need FM for creating handling unit w.r.f to a shipment. The parameters i import are handling unit no., packing material . Do anybody know what FM to use? Also then i ne

  • How can I sink version 10.6.8 with 10.7.2?

    how can I syn my mac air 10.6.8 with my mac pro 10.7.2