Sending (String/Bean) Arrays with Webservices and DII

I'm using the application server from the Sun J2EE SDK (J2EE(TM) Application Server 1.4 Developer Release (build b44-dr) and I'm trying to get an array with Beans or Strings to be send to an Dynamic Invocation Client.
Can someone point me to an example or send one to me, I'm really stuck with it.

Can nobody point me to an example how to send arrays with a webservice to a Dynamic Interface Invocation Client???

Similar Messages

  • I have read 118 files (from a directory) each with 2088 data and put them into a 2 D array with 2cols and 246384row, I want to have aeach file on a separate columns with 2088 rows

    I have read 118 files from a directory using the list.vi. Each file has 2 cols with 2088rows. Now I have the data in a 2 D array with 2cols and 246384rows (118files * 2088rows). However I want to put each file in the same array but each file in separate columns. then I would have 236 columns (2cols for each of the 118 files) by 2088 rows. thank you very much in advance.

    Hiya,
    here's a couple of .vi's that might help out. I've taken a minimum manipulation approach by using replace array subset, and I'm not bothering to strip out the 1D array before inserting it. Instead I flip the array of filenames, and from this fill in the end 2-D array from the right, overwriting the column that will eventually become the "X" data values (same for each file) and appear on the right.
    The second .vi is a sub.vi I posted elsewhere on the discussion group to get the number of lines in a file. If you're sure that you know the number of data points is always going to be 2088, then replace this sub vi with a constant to speed up the program. (by about 2 seconds!)
    I've also updated the .vi to work as a sub.vi if you wa
    nt it to, complete with error handling.
    Hope this helps.
    S.
    // it takes almost no time to rate an answer
    Attachments:
    read_files_updated.vi ‏81 KB
    Num_Lines_in_File.vi ‏62 KB

  • What's up with Webservices and BPM integration?

    According to http://e-docs.bea.com/wli/docs70/design/intarch.htm, table
    3-1, webservices are a key component of the Integration architecture,
    which:
    "Provides sample code to support WebServices integration using
    WebServices technologies
    such as UDDI, WebServices Description Language (WSDL), and Simple Object
    Access
    Protocol (SOAP). WebLogic Integration provides the ability to invoke a
    WebService
    from a BPM workflow, enable a BPM workflow as a WebService, and to
    enable the
    Application View as a WebService. For an introduction to WebLogic
    WebServices,
    see the WebServices and XML Tech Track in the BEA dev2dev Online at the
    following
    URL:
    http://dev2dev.bea.com/index.jsp"
    The only thing which comes close to this description is the BPM Plugin
    for webservices, which is alpha code for WLI 2.1. To deploy this on 7, I
    have only seen a message here describing loosely what to do.
    So is this how we are expected to use webservices together with
    Integration? With alpha code that requires tweaking to work with the
    current version? Or am I missing something vital? The quote from the
    docs suggest "sample code", however the webservices plugin is not
    provided in source, so I don't see how it qualifies as sample code?
    Somehow I also don't quite understand how "sample code" can be construed
    as a "key component".
    So what's up with webservices and Integration?
    -Lasse
    (only speaking for myself in news!)

    Your comment about the lacking of web services in WLI is correct
    and a fundamental issue I have signalled to BEA already many
    months ago. I even followed the BPM course to make sure I did
    not miss an important point. The BPM course did not deal with
    webservices because it is not available. But the fundamental remark goes further
    because webservices also have a dynamic
    interface WSCI to behave within a choreography of webservices
    within a business process. BPM is still mainly workflow based
    and intracompany. This is not what is expected as business
    processes which are collaborative and a new paradigm alternative for applications
    conform BPML-WSCI or BPEL4WS-ws transaction.
    I still wait from BEA a confirmation that webservices and collaborative business
    processes according to (at least) one of
    the above standards will be included within the next version of weblogic enterprise
    platform due end of March 2002.
    Kind regards,
    Paul Meurisse
    Email : [email protected]

  • Generic connector with webservice and SPML provider

    Hi,
    I have created a Generic connector in Oracle Identity server successfully with Webservice transport porvider and SPML payload provider. But when I am trying to create a user using this connector I am getting following error in OIM server log:
    AJPRequestHandler-RMICallHandler-20 XELLERATE.WEBAPP - Setting the response code as GCPROV.ProvTransportProvider.WebServices.Caught exception while handling request: malformed array t
    Can anyone please help me regarding this? I am even not able to identify where it is getting failed.
    Thanks in advance

    This is what I've found in the docs:
    "Each SPML request is sent in a SOAP message. The SOAP header carries authentication information for the request. The actual SPML request data is the SOAP message body. "
    All I'm trying to do is create a SOAP web service (in this case with Java 6, but that's not fundamental) that can intercept that message and grab the SPML request (and then do what I have to do).
    I tried with something like the following code:
    package wsspml;
    import javax.jws.WebService;
    import java.io.IOException;
    import java.util.logging.*;
    @WebService
    public class SPMLServer {
         public String processRequest(String requestData) {
    but it won't work. It's like the exposed SOAP method "processRequest" is invisible. It's not being called. Perhaps the signature is wrong. I don't know what to make of it. I'm trying to understand how to grab that SPML request that's coming from OIM through the custom generic technology connector that I configured.

  • Possible bug: Saving array with extended and double precision to spreadshee​t

    If one concatenates a double precision array and an extended precision array with the "build array" vi and then saves using "Write to Spreadsheet File" vi any digits to the right of the decimal place are set to zero in the saved file. This happens regardless of the format signifier input (e.g. %.10f) to the  "Write to Spreadsheet File" vi.
    I am on Vista Ultimate 32 bit and labview 9.0
    This is a possible bug that is easily circumvented by converting to one type before combining arrar to a spreadsheet. Nonetheless, it is a bug and it cost me some time.
    Solved!
    Go to Solution.
    Attachments:
    Spreadsheet save bug.vi ‏9 KB

    Hi JL,
    no, it's not a bug - it's a feature
    Well, if you would look more closely you would recognize the "Save to Spreadsheet" as polymorphic VI. As this polymorphic VI doesn't support EXT numbers internally (it only supports DBL, I64 and String) LabVIEW chooses the instance with most accuracy: I64 (I64 has 64 bits precision, DBL only 53...). So your options are:
    - set the instance to use as DBL (by right-click and "Select type...")
    - make a copy of this VI, save it with a different name and make it support EXT numbers (don't rework the polymorphic VI as you would break compatibility with other LV installations or future revisions)
    And yes, those coercion dots always signal some conversions - you should atleast check what's going on there...
    Message Edited by GerdW on 05-21-2010 10:01 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Trouble with WebServices and LiveCycle Designer ES 8.2.1.3

    Hi,
    Eventually I want to create a rather complex form that users will use to create a Change Request in our ticketing system through a webservice exposed by the same ticketing solution.  However, right now I'm just attempting to create a very simple form as proof of concept.  It's connected to a webservice that accepts two inputs a string and a datetime and returns 4 or 5 values that aren't necessary to display on the form but would be nice.
    I've made the Data connection using the wizard and input the correct WSDL location and ES2 does see the webservice and pulls in the fields, including the execute button, that corresponds to the webservice.  However, once I populate the fields and attempt to execute the call with the pre-packaged button, nothing happens. No errors and the call is never sent to the server.  I've independantly verified that the webservice is reachable via the computer that I'm testing with and also that's it's accessible via others on the network.  What appears to happen is that the call to the webservice is never sent from the PDF.  If I change the execution option from Client to Server then I get an error message as such "Couldn't post data to''.  Which makes sense, I think, since I don't have a LiveCycle Server.
    Can anyone help?  What am I doing wrong?  I'd attach the file, but I don't seem to have the option.
    Thanks,
    CJ

    Are you testing in Acrobat or Reader. My guess is Reader.....Reader does not support Web Service calls on its own. You can Reader Extend the form to allow Reader to do the Web Service call. To be able to do that you will need LiveCycle Reader Extensions server to do the extending for you.
    For testing I suggest that you download the trial version of Acrobat (it does not have this restriction) and see if it satisfies your needs. Then you can decide if it is more economical to buy Reader Extensions server or buy copies of Acrobat for your users.
    Hope that helps
    Paul

  • Populating a dynamic array with objects and managing it in runtime.

    So I'm another stuck firstyear. I'll try and make my question compact. I'm using Flash CS6 and have drawn an animated character on the stage that consists of separate parts that are animated and its head is a separate class/symbol entirely because it has not only animation, but a state switch timeline as well. This said Head extends the Main that is the character MovieClip.
    I am using a dynamic array to store and .push and .splice objects of another class that would collide with this said Head.
    I also discovered the super() function that is implicitly called as the constructor of the parent in any child class that extends the parent, in this case Head extends Main. The issue is that my collidable object array is populated within the main, within the function that spawns every next collidable object with a TimerEvent. This said function then gets called twice due to the super() call.
    I have tried putting this super() call into an impossible statement in my child class, but it doesn't change a thing, and it was said that this method is unsafe so I don't even know if it should be working.
    However what confuses me the most is when I trace() the .length of my collidable object array at the end of that function. As I said earlier, the original function both spawns an object after a period of Timer(1000) and adds it to the stage as well as adds the object onto the object array, but the super() constructor only duplicates the length call and a creates a copy of the object on the stage, but it does not add the second copy of the object onto the array. The trace() output goes on like so:
    1
    1
    2
    2
    3
    3
    4
    4
    etc.
    I wonder why and I'm really stumped by this.
    Here is the code in question:
    public class Main extends MovieClip {
                        public var nicesnowflake: fallingsnow;
                        var nicesnowflakespawntimer: Timer = new Timer(1000);
                        public var nicesnowflakearray: Array = new Array();
                        public function Main() {
                                  nicesnowflakespawntimer.addEventListener(TimerEvent.TIMER, nicesnowflakespawn);
                                  nicesnowflakespawntimer.start();
                        public function nicesnowflakespawn(event:TimerEvent) : void {
                                  nicesnowflake = new fallingsnow;
                                  nicesnowflake.x = Math.random()* stage.stageWidth;
                                  nicesnowflake.y = - stage.stageHeight + 100;
                                  nicesnowflakearray.push(nicesnowflake);
                                  stage.addChild(nicesnowflake);
                                  trace(nicesnowflakearray.length);
                                  for (var i:Number = 0; i < nicesnowflakearray.length; i++){
                                            nicesnowflakearray[i].addEventListener(Event.ENTER_FRAME, snowhit);
                        public function snowhit(event:Event) : void {
                                  if (nicesnowflakearray[0].y >= 460){
                                            if (nicesnowflakearray[0].y == stage.stageHeight) {
                                            nicesnowflakearray.splice(nicesnowflakearray.indexOf(nicesnowflake), 1);
                                  //if (this.hitTestObject(nicesnowflake)){
                                            //trace("hit");
    I am also fiddling with the collision, but I believe that it would sort itself out when I deal with the array pop and depop properly. However I'm pasting it anyway in case the issue is subtly hidden somewhere I'm not looking for it. And here is the child class:
    public class Head extends Main {
                        public function Head(){
                                  if (false){
                                            super();
                                  this.stop();
    So like what happens at the moment is that the array gets populated by the first object that spawns, but there is two objects on the stage, then when the objects reach stage.460y mark the array splices() the one object away and displays an error:
    "#1010: A term is undefined and has no properties.
              at Main/snowhit()"
    then when the next object spawns, it repeats the process. Why does it trace the array.length as "1, 1, 2, 2, 3, 3, 4, 4, 5, 5, etc" until the despawn point and then goes on to display an error and then starts from 1 again, because if the array length is more than one object at the time when the first object of the array gets spliced away, shouldn't it go on as usual, since there are other objects in the array?
    Thank you very much to whomever will read this through.

    There are multiple problems:
    1. You should add eventlisteners for your objects only once, but you add eventlisteners every time your timer runs to all of your snowflakes, again and again:
                                  for (var i:Number = 0; i < nicesnowflakearray.length; i++){
                                            nicesnowflakearray[i].addEventListener(Event.ENTER_FRAME, snowhit);
    change it to
    nicesnowflake.addEventListener(Event.ENTER_FRAME, snowhit);
    I don`t see why its even necessary to employ this snowflakearray, it would be much straight forward if you simply let the snowflakes take care of themselves.
    2. Then you have to change your enterframe function accordingly
    public function snowhit(event:Event) : void {
                                  if (e.currentTarget.y >= 460){
                                            if (e.currentTarget.y == stage.stageHeight) {
                                            e.currentTarget.removeEventlistener(Event.ENTER_FRAME, snowhit);
                                            removeChild(e.currentTarget);
    3.
                                  //if (this.hitTestObject(nicesnowflake)){
                                            //trace("hit");
    since "this" is a reference to the Main class (root) it surely won`t function as you intend it to.
                                  if (false){
                                            super();
    makes no sense to use a condition that can never be true

  • How to send an group email with text and photo with  out having google trash it

    how to send a group email with imac 21.5   8.1 Yosemite gmail    without having it trashed automatically

    Check the settings on the machine(s) that are trashing it.

  • NXT Flatten to String Not Working with Clusters and Arrays

    Hello,
    My name is Joshua and I am from the FIRST Tech Challenge Team 4318, Green Machine. We are trying to write a program that will write to a configuration file and read it back. The idea is that we will be able to write to a config file from our computer that will be read by our autonomous program when it runs. This will define what the autonomous program does.
    The easiest way to do this seems to be flattening a data structure to a string, saving it to a file, and then reading back and unflattening it. The issue is that the flatten to string and unflatten from string VIs don't seem to work with arrays and clusters on the NXT. It does work when running on the computer. We've tried arrays, clusters, clusters in arrays and arrays in clusters, none seem to work. Thinking it was something to do with reading the string from a file, we tried bypassing the file functionality, still not working. It does work with basic data types though, such as strings and numbers.
    No error is thrown from what we can tell. All you get is a blank data structure out of the unflatten VI.
    The program attached is a test program I've been working on to get this functionality to work. It will display the hex content of what is going into the file, coming out of the file, and then the resulting data from the unflatten string, as well as any errors that have been thrown. The data type we are using simulates what we would like to store. There is also a file length in and out counter. The out file is a little larger because the NXT write file VI adds a new line character on to the end (thus the use of the strip white space VI). This character was corrupting even basic data types saved to file.
    I would like to know if there is a problem with what we are doing, or if it is simply not possible to flatten arrays on the NXT. Please ask if you have any questions about the code. Thank you in advanced!
    Joshua
    Attachments:
    ReadableTest.vi ‏20 KB

    Hi jfireball,
    This is a very interesting situation. Take a look at what kbbersch said. I also urge you to post in the FTC Forums. You posted your question to the general LabVIEW forums, but by posting to the FTC Forums, you will have access to others that are using the NXT hardware.
    David B.
    Applications Engineer
    National Instruments

  • How do i convert a double array (with spaces and tabs) to a string?

    Hi
    In our files, we have a mixture of spaces and tabs as a delimeter. How do I convert a double array into a string?
    Thank you.

    Not sure about the last part of your question.
    The Search and Replace pattern can be better than the simple Search and Replace string when you have to do complex searchs, such as detecting multiple spaces.
    Have a look at the attachment.
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    ReplaceSpaces.vi ‏27 KB

  • Error with WebServices and object hierarchy

    Hello,
    I'm using Web Services (deployed on Axis Server) with SJC. SJC don't understood the object hierarchy. It's seem to be the same problem than in post http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=50290 and
    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=52967.
    I have 3 classes.
    GrandSon
    Son with an array of GrandSon
    Father with an array of Son
    The class :
    Father :
    package test;
    public class Father {
         private Son[] theSons;
         public Father()
              theSons = new Son[2];
              theSons[0] = new Son();
              theSons[1] = new Son();
         public Son[] getSons()
              return theSons;
    Son :
    package test;
    public class Son {
         private String name = "Son";
         private GrandSon[] grandSons;
         public Son()
              grandSons = new GrandSon[2];
              grandSons[0] = new GrandSon();
              grandSons[1] = new GrandSon();
         public String getName()
              return name;
         public GrandSon[] getGrandSons()
              return grandSons;
    GrandSon
    package test;
    public class GrandSon {
         String name;
         public String getName()
              return "I'm a Grandson";
    I'm creating the webService from Father JavaBean. Here is the WSDL file generated by wtp plugin for Eclipse :
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://test" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://test" xmlns:intf="http://test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)-->
    <wsdl:types>
    <schema elementFormDefault="qualified" targetNamespace="http://test" xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="getSons">
    <complexType/>
    </element>
    <element name="getSonsResponse">
    <complexType>
    <sequence>
    <element maxOccurs="unbounded" name="getSonsReturn" type="impl:Son"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="GrandSon">
    <sequence>
    <element name="name" nillable="true" type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfGrandSon">
    <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="impl:GrandSon"/>
    </sequence>
    </complexType>
    <complexType name="Son">
    <sequence>
    <element name="grandSons" nillable="true" type="impl:ArrayOfGrandSon"/>
    <element name="name" nillable="true" type="xsd:string"/>
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    <wsdl:message name="getSonsRequest">
    <wsdl:part element="impl:getSons" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="getSonsResponse">
    <wsdl:part element="impl:getSonsResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:portType name="Father">
    <wsdl:operation name="getSons">
    <wsdl:input message="impl:getSonsRequest" name="getSonsRequest"/>
    <wsdl:output message="impl:getSonsResponse" name="getSonsResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="FatherSoapBinding" type="impl:Father">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getSons">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="getSonsRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="getSonsResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="FatherService">
    <wsdl:port binding="impl:FatherSoapBinding" name="Father">
    <wsdlsoap:address location="http://localhost:8080/webServiceSimple/services/Father"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    When I try to call my Web Service in Sun Java Creator, I have this error message :
    InvocationTargetException com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    deserialization error: unexpected XML reader state. expected: END but found: START
    Runtime exception; nested exception is: deserialization error: unexpected XML reader state. expected: END but found: START: {http://test}grandSons
    com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
    com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
    webservice.Father_Stub.getSons(Father_Stub.java:68)
    webservice.fatherservice.FatherServiceClient.getSons(FatherServiceClient.java:29)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    deserialization error: unexpected XML reader state. expected: END but found: START: {http://test}grandSons
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:128) webservice.Son_LiteralSerializer.doDeserialize(Son_LiteralSerializer.java:54)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
    webservice.GetSonsResponse_LiteralSerializer.doDeserialize(GetSonsResponse_LiteralSerializer.java:53)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:216)
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:124)
    webservice.Father_Stub._deserialize_getSons(Father_Stub.java:115)
    webservice.Father_Stub._readFirstBodyElement(Father_Stub.java:102)
    com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:215)
    webservice.Father_Stub.getSons(Father_Stub.java:68)
    webservice.fatherservice.FatherServiceClient.getSons(FatherServiceClient.java:29)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    The SOAP communication seems to be correct. I'm sniffing the communication channel:
    Request from SJC:
    POST /webServiceSimple/services/Father HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Content-Length: 335
    SOAPAction: ""
    Cache-Control: no-cache
    Pragma: no-cache
    User-Agent: Java/1.5.0_06
    Host: 127.0.0.1:8081
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://test"><env:Body><ns0:getSons/></env:Body></env:Envelope>
    Response from AXIS ( I have corrected text indentation) :
    HTTP/1.1 200 OK
    Content-Type: text/xml;charset=utf-8
    Transfer-Encoding: chunked
    Date: Thu, 24 Aug 2006 12:44:27 GMT
    Server: Apache-Coyote/1.1
    292
    <?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><getSonsResponse xmlns="http://test">
    <getSonsReturn>
    <grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    </grandSons>
    <name>Fils</name>
    </getSonsReturn>
    <getSonsReturn>
    <grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    <grandSons>
    <name>I'm a Grandson</name>
    </grandSons>
    </grandSons>
    <name>Fils</name>
    </getSonsReturn>
    </getSonsResponse>
    </soapenv:Body></soapenv:Envelope>
    0
    I suppose that the version of SOAP used in AXIS and in SJSC may be different. Array's definition have been changed in version SOAP 1.2.
    Here an array is described like this :
    <grandSons> <- ARRAY
    <grandSons> <-OBJECT : ARRAY[0]
    </grandSons>
    <grandSons><-OBJECT : ARRAY[1]
    </grandSons>
    </grandSons>
    Probably explains this message :
    deserialization error: unexpected XML reader state. expected: END but found: START: item
    Somebody have an idea ?
    Thanks.

    Hi Frank,
    I've checked further, and for testing, I have made a change to the sample Reference Cursor package code (NVL'd the parameter), but I still get the same error:
    CREATE OR REPLACE PACKAGE BODY RefCursorExample IS
      FUNCTION get_requests_for_tech(p_email VARCHAR2) RETURN ref_cursor IS
        the_cursor ref_cursor;
      BEGIN
        OPEN the_cursor FOR
          SELECT sr.svr_id, sr.status, sr.problem_description
            FROM service_requests sr, users u
         WHERE sr.assigned_to = u.user_id
           AND u.email = NVL(p_email,u.email);
        RETURN the_cursor;
      END get_requests_for_tech;
      FUNCTION count_requests_for_tech(p_email VARCHAR2) RETURN NUMBER IS
        the_count NUMBER;
      BEGIN
        SELECT COUNT(*)
          INTO the_count
          FROM service_requests sr, users u
         WHERE sr.assigned_to = u.user_id
           AND u.email = NVL(p_email,u.email);
        RETURN the_count;
      END count_requests_for_tech;
    END RefCursorExample;My issue is that it works with NULL for the parameter in the Business Component Browser (BCB), but when I get to the JSF ExecuteWithParams the application looks like it expects NOT NULL when NULL should work. Is there a way to trace where this is happening? Since the BCB works, can I assume it is the JSF side that is causing this? I have already turned on my logging to FINE in logging.properties, and I can't seem to find why this is being triggered...
    java.util.logging.ConsoleHandler.level = FINE
    com.sun.faces.level=FINE
    Thanks!
    Kenton

  • Trying to use Message Signing with Webservices and getting exception!

    Here is the exception I'm getting....
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    Detail:
    null; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    Detail:
    null; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    I followed step by step the example given on the Weblogic "edocs" pages, but I am at a loss as to what to put on the Identity Asserter Detail screen under "Default User Name Mapper Attribute Type" and "Default User Name Mapper Attribute Delimiter".
    I'm using the example code you can find at the following URL - http://e-docs.bea.com/wls/docs81/webserv/security.html#1061856
    I'm creating my client key pair as specified with a keyname of client_key and password of client_key_password.
    I'm also creating a user in the Admin Console called auth_user with a password of auth_user_password.
    HELP!!!!!

    The error message means you haven't configured the identity mapping between your client cert and a WLS user.
    Here is the WLST script I used in my dev2dev sample(https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=S18)
    rlm = cmo.getSecurityConfiguration().getDefaultRealm()
    ia = rlm.lookupAuthenticationProvider("DefaultIdentityAsserter")
    activeTypesValue = array(["X.509"],java.lang.String)
    ia.setActiveTypes(activeTypesValue)
    ia.setDefaultUserNameMapperAttributeType('CN');
    ia.setUseDefaultUserNameMapper(Boolean('true'));
    So I add the X.509 to the ActiveTypes of IdentityAsserter, then I choose the "CN" as the DefaultUserNameMapperAttributeType, finally enable UseDefaultUserNameMapper.

  • Retreive postgres data with jaxrpd and dii

    Hi,
    I'd like to create a web services using JAXRPC and a webb client written with DII that retreive data from a postgres DB and put in a jsp web page.
    Can you post an example or a tutorial to build everything in a simple way.
    Thanx
    p.s.: excuse for my english butt I am italian.
    Hi, stefano

    Hi,
    Refer http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXRPC4.html
    -Amol

  • Sender SOAP Adapter issue with webservices for authorization.

    Hi All
    Issue:
    As we are developing a Web Service to fetch account balance from SAP(upon receiving the account no from client) and have given the wsdl file to J2EE application  to call or make use of the service.  But as a part of that service they expect userid/password to be entered manually from client  pop-up.  At this point of time, we don't want to enter userid/password manually but  we want this to be hardcoded/embedded in Webservice so that  there is no need of manual intervention upon calling this service.
    Actual Requirement:
    From Webservices to R/3-ECC6.0-IS-Banking-RFC (Synchronous Interface)
    Sender: SOAP Adapter synchronous
    Receiver: RFC Adapter synchronous
    Note: Requesting a account number and getting response from RFC is account Balance and Date to webservice
    Regards
    Kiran kumar.s

    Hi praveen,
    Thanks for ur  reply.What you said is exactly right but for time being i have to make the client not get the authorization(password--Username and password(pop-up)) when he invokes the WSDL into webservice for that u told that to write some hardcode in J2EE application,but i don't know that where to write and what to write.so, if possible can u give me the code and procedure.
    This is the URL:
    http://hcl3sap:50000/XISOAPAdapter/MessageServlet?channel=:BS_WEBSERVICE:CC_SOAPSENDER
    Regards,
    kiran kumar.

  • Send PO External email with attachement and Body text

    Hi,
    I need to send Purchase Orders to Vendors as PDF attachments to emails; I have successfully configured all the necessary to send external email with PDF attachement but I want to add text in the body of the email:
    For Output Type NEU
       Access to conditions (General Data) set to X the Replacement of text symbols is SAPMM06E/TEXT_SYMBOL_REPLACE and I fill the text in the Mail Title and Texts. The email was send with all the information : Attachement, title with PO number but with no text in the body.
    Can somebody help me with this issue.
    best regards
    Andre

    Hi,
       My file is "PO Number APM - 123456.dpf". You have to config the "Define Message Types for Purchase Order" in the section Mail title and texts with NEU output type. But don't forget to put the program name SAPMM06E
    Look at
    [purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE|purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE]
    Best regards
    Andre

Maybe you are looking for

  • Macbook Pro hard drive failing, how to recover data?

    My 2 year old MBP refused to boot up this morning. I was told at the Genius Bar that the hard drive is on its way out.  It is still able to mount when hooked up to another machine but apparently the geniuses don't do data recovery.  I was refferred t

  • Mac keeps freezing since upgraded to yosemite

    since I have upgraded to Yosemite on my MacBook pro 2009 safari and chrome and many other apps that I try to run freeze and lock up the entire computer. If I wait eventually it will unfreeze. I have tried restarting several times. Could I have a viru

  • Groups created in OID cannot be seen in Portal - Admin screen

    Hi, I'm working on an intranet application for my company, and trying to structure Groups/Users in the OID to enable role-based security. I'm having a problem where the groups created in OID through the OID Self Services Console, cannot be viewed in

  • Difference is not showing in foreign currency diff. a/c

    Hi Guru's, I am stuck up at this point :- Entered one invoice for $ 1500 @40.08 & received payment of the same amount but at different rate i.e. 39.40. The difference of this entry should go to Loss from foreign currency A/c But it is not showing in

  • Search Indices in 2D Array in a Range

    Hello. I have two 2D Arrays (9x9) and I would like to find indices of an element that lies in a specific range. For example, ±15% of the value I look for. I have found and implemented Search 2D Array.vi, it works well but it is possible to set only o