MessageElement again... help!!!

2005-01-05 Thread Felipe Palma Dias
Please, I need help! I have a WSDL that have the service saveNF, see attach file. This service has the pobjDsItens element, its type is: I need to create MessageElement array from this complextype. How do I do it? I use the wsdl2java, and it creates public void saveNF(int pintPedido

create a MessageElement

2005-01-04 Thread Felipe Palma Dias
I need to create a MessageElement from using this xml: 478164 1 478165 1 Can anyone help me? Tks. = --- Felipe F. Palma Dias http://geocities.yahoo.com.br/palmadias

create TextNode with MessageElement

2004-11-24 Thread Stefan Lischke
hi, sorry for asking such a simple question, but how can i create a Text Node? thats the wsdl generate constructor signature: public FilterType( org.apache.axis.message.MessageElement [] _any, org.apache.axis.types.URI dialect) i tried: org.apache.axis.message.MessageElement[] any=new org.a

Re: BUG: MessageElement should implement NodeList

2004-10-29 Thread Eduardo Issao Ito
_2RC1: > > > >The class org.apache.axis.message.MessageElement does not implement > the > >interface org.w3c.dom.NodeList. > > > >So, the method getElementsByTagName gives a ClassCastException: > > > >public NodeList getElementsByTagName(String tagName) { > >//

Re: BUG: MessageElement should implement NodeList

2004-10-29 Thread Dan Ciarniello
) { //use this MessageElement class for Nodelist store MessageElement nodelist = new MessageElement(); java.lang.ClassCastException at org.apache.axis.message.MessageElement.getElementsByTagName(MessageElement.java:1813) at

BUG: MessageElement should implement NodeList

2004-10-29 Thread Eduardo Issao Ito
MessageElement class for Nodelist store MessageElement nodelist = new MessageElement(); java.lang.ClassCastException at org.apache.axis.message.MessageElement.getElementsByTagName(MessageElement.java:1813) at org.apache.axis.message.MessageElement.getElementsByTagName

Strange automatic sorting happening within MessageElement

2004-09-20 Thread Stephen Chi Zhang
testing dummy data, then assigned this object into a MessageElement pending for being sent via web services. Surprisingly and saddly, when I open tcpmon to monitor the message flow, I saw my message elements have been sorted out in an alphabetical order, ie. SearchAndSelectRequest Basket

MessageElement to Bean Object

2004-06-25 Thread Yu, Joel, Contractor
hi, I have web service method that returns a response. The response is defined as: So the object wsdl2java generated has a method get_any(),which returns a array of MessageElement object. Now I know the any is really another object foos already in xsd and I have a

MessageElement: getChildren() Text only Node

2004-06-20 Thread Volle
FirstChild() or check if there are children with: domElement.getChildNodes().getLength() the return value is 0 (hasChildren() throws a NullPointerException). Funny thing is that System.out.println(domElement) prints "bar". I then tried to debug MessageElement, but did not get ve

RE: Adding a text node to a MessageElement

2003-12-07 Thread chris
riginal Message- From: lou fox [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 10:09 AM To: '[EMAIL PROTECTED]' Subject: Adding a text node to a MessageElement How do I change a textnode in a MessageElement? I know I can get the value of the textnode by calling the getValue() met

Adding a text node to a MessageElement

2003-12-05 Thread lou fox
How do I change a textnode in a MessageElement? I know I can get the value of the textnode by calling the getValue() method, but how do I change it to something else? setObjectValue(), and addTextNode() didn't seem to work correctly. Does anyone know how to do this?

WSDL2Java/MessageElement[] confusion

2003-10-07 Thread Mark
s operations with no faults or exceptions. My problem is extracting the result from the MessageElement[] array. I looked at the Axis documentation, searched the email archives and the web but wasn't able to find examples. In this sample web service, there's 4 operations and each has

How to convert MessageElement[] to desired Object.

2003-08-21 Thread JaiParkash Singh
Hi All, I am learner to axis world. I had to make a client, which interacts with .Net web services. I had used the WSDL2Java utility for creating the stubs to interact with server. The return type is class which contains MessageElement[] as a value. Actually, it contains different classes

MessageElement Example

2003-03-24 Thread Bhubanananda Hota
Hi, Can any body help me providing an example for creation of message elements. Thanks B. Hota

MessageElement[] --> DOMDocument

2002-09-25 Thread Houman Moshtagh
Hello all, I pass a simple XML Message with 2 Nodes to my client. Everything runs fine (regarding to TCPMON) I would like to convert the SOAP-BODY which seems to be in MessageElement[] to a DOM-Document. Is this possible? Or maybe another case, I see these two Elements in MessageElement

RE: MessageElement

2002-04-10 Thread Taras Shkvarchuk
[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 9:48 AM > To: [EMAIL PROTECTED] > Subject: Re: MessageElement > > > I deferred supporting nodes of type javax.xml.soap.Text as > they are poorly > defined by the JAXM spec. For instance it is not clear how > such no

Re: MessageElement

2002-04-10 Thread Glyn Normington
am.Leggett" o.co.uk> cc: Subject: MessageElement

RE: MessageElement

2002-04-10 Thread Adam.Leggett
Oren, What version of Axis are you using? MessageElement does not seem to have a getFirstChild() method in Axis Beta1 To clarify, I need to get the text node from my instance of MessageElement. I don't want to load it into a DOM and incur a performance hit. Cheers Adam -Ori

RE: MessageElement

2002-04-10 Thread Oren Bar-El
You need to use msid.getFirstChild().getNodeValue() to get the value of the TextNode. -Original Message- From: Adam.Leggett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 4:50 PM To: Axis User ([EMAIL PROTECTED]) Subject: MessageElement I need to get the text node from a

MessageElement

2002-04-10 Thread Adam.Leggett
I need to get the text node from a MessageElement The xml element is: 11 getValue() returns null i.e. /** * Text nodes are not supported. */ public String getValue() { return null; } I cetainly would like to avoid using getAsDOM() etc Is my only option to use

Problem with MessageElement?

2002-03-13 Thread Steve Pannier
I have the following test program that makes use of the org.apache.axis.MessageElement class: import org.apache.axis.message.*; import org.w3c.dom.*; public class TestAxisApi { public TestAxisApi() {} public void run() { MessageElement parent = new MessageElement