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
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
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
_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) {
> >//
) {
//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
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
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
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
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
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
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?
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
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
Hi,
Can any body help me providing an example for creation of message
elements.
Thanks
B. Hota
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
[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
am.Leggett"
o.co.uk> cc:
Subject: MessageElement
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
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
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
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
21 matches
Mail list logo