Re: duplicating namespaces

2005-02-07 Thread Yves Langisch
"h:/COMPLEXCompany.xml"); > > SOAPEnvelope reqEnv = new SOAPEnvelope(); > > SOAPBody body = reqEnv.getBody(); > > body.addChildElement(new SOAPBodyElement(input)); > > SOAPEnvelope resEnv = call.invoke(reqEnv); > > > > The soap

RE: duplicating namespaces

2005-02-04 Thread Jandhyala, Ajay
I get this error on the server when I try to Undeploy one of the web services. Can anyone tell me why. I am new to Axis. Thanks, Ajay. 17:20:36,530 INFO [Server] JBoss (MX MicroKernel) [3.2.2RC4 (build: CVSTag=JBoss_3_2_2_RC4 date=200309172341)] Started in 30s:939ms 17:21:01,843 INFO [Engine

Re: duplicating namespaces

2005-02-04 Thread Yves Langisch
> SOAPEnvelope resEnv = call.invoke(reqEnv); > > The soap-request I see with TcpMon on the wire has set the namespaces > explicitely for each element in the request: > > snippet: > xmlns="http://a.b.c/schema/sd/20040701/SalaryDeclarationContain

Re: message style and namespaces

2005-02-02 Thread Linus Kamb
Forgot: Using 1.2RC2 On Feb 2, 2005, at 4:03 PM, Linus Kamb wrote: Curious why when I try to send the simple XML some text using axis "message" style, out the other side comes: some text Note the empty namespace string. Are namespaces required on all elements? And

message style and namespaces

2005-02-02 Thread Linus Kamb
Curious why when I try to send the simple XML some text using axis "message" style, out the other side comes: some text Note the empty namespace string. Are namespaces required on all elements? And if so, why isn't one being put on the outer element? The inner e

empty namespaces

2004-11-12 Thread Bob Morris
This seems to be a perennial question, and yet I can't see an answer to it in the form I'm suffering with. The dynamic wsdl generated by axis often (always?) has an empty default namespace in the root: This is true even of the axis default services such as the wsdl generated by the axis Vers

duplicating namespaces

2004-11-05 Thread Yves Langisch
qEnv = new SOAPEnvelope(); SOAPBody body = reqEnv.getBody(); body.addChildElement(new SOAPBodyElement(input)); SOAPEnvelope resEnv = call.invoke(reqEnv); The soap-request I see with TcpMon on the wire has set the namespaces explicitely for each element in the request: snippet: ht

RE: namespaces

2004-10-14 Thread Anne Thomas Manes
Each qname maps to only one class, so you must define a different beanMapping for each bean class. Anne -Original Message- From: Suzy Fynes [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 3:07 PM To: [EMAIL PROTECTED] Cc: 'Anne Thomas Manes' Subject: RE: namespace

RE: namespaces

2004-10-14 Thread Suzy Fynes
That's great, thanks a million! Just one other question, can I define more than one bean class in the same bean mapping? -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 14:00 To: [EMAIL PROTECTED] Subject: RE: namespaces A qname (qual

RE: namespaces

2004-10-14 Thread Anne Thomas Manes
to specify that type here, and your namespace declaration must reference the targetNamespace of your schema file. For example: Anne From: Suzy Fynes [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 12:37 PM To: [EMAIL PROTECTED] Subject: namespac

namespaces

2004-10-14 Thread Suzy Fynes
  Hi,   Can anyone tell what kind a ns:local is in the <beanMapping qname=”ns:local” …./>   I’m not sure how namespaces work exactly, is it something I create myself?     Thanks  

empty namespaces in SOAP messages from axis

2004-08-20 Thread Laurent . IOZELLI
aised : org.xml.sax.SAXException: Invalid element in com.namespace1.Attribute1 - Node1 I managed to isolate what seems to be the problem : When I put a xmlns="" in the response element , everything works fine. But I'd like to find a solution on Axis side, by eliminating those empty na

Re: Namespaces & Clients

2004-06-15 Thread NYY96
  -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 4:06 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients I didn't touch the deployment descriptor except to add a handler. Other than that small po

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 4:06 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients I didn't touch the deployment descriptor except to add a handler. Other than that small portion of code the descriptor is the same as was generated by

Re: Namespaces & Clients

2004-06-15 Thread NYY96
-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 3:35 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients Yes I did, but this brings me back to my original question: I have the namespace setup to go to ht

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
.wsdd file.   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 3:35 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients Yes I did, but this brings me back to my original question: I have the namespace setup

Re: Namespaces & Clients

2004-06-15 Thread NYY96
.wsdd file?   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 3:13 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients Do you mean something like this:   Service servce = new Service(Report

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
PROTECTED]Sent: Tuesday, June 15, 2004 3:13 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients Do you mean something like this:   Service servce = new Service(ReportHandlerService);   I'm not quite sure what you mean. I have a ReportHandlerService, how exactly sho

Re: Namespaces & Clients

2004-06-15 Thread NYY96
yed the services to AXIS, do you have the autogenerated service file created by Apache Axis WSDL2Java emitter? [Meloro, John]  -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 2:10 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces &

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
]  -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 2:10 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients This produces errors:   ReportHandlerClient.java:26: javax.xml.rpc.Service is abstract; cannot be instanti

Re: Namespaces & Clients

2004-06-15 Thread NYY96
EMAIL PROTECTED]]Sent: Tuesday, June 15, 2004 1:32 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & ClientsI am dealing with the ReportHandlerServicePort for now and only run a very simply example through addReport.And now... Some ServicesAdminService (wsdl)AdminServi

Re: Namespaces & Clients

2004-06-15 Thread NYY96
esday, June 15, 2004 1:32 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & ClientsI am dealing with the ReportHandlerServicePort for now and only run a very simply example through addReport.And now... Some ServicesAdminService (wsdl)AdminService Version (wsdl)getVersionSampl

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
ce     }  }} -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 15, 2004 1:32 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & ClientsI am dealing with the ReportHandlerServicePort for now and only run a very simply example through addReport.And

Re: Namespaces & Clients

2004-06-15 Thread NYY96
: Tuesday, June 15, 2004 1:27 PM To: [EMAIL PROTECTED] Subject: Re: Namespaces & Clients I was able to figure out why that was happening. It was a fault on my end, nothing major. Hopefully you can help me with the other issue. James In a message dated 6/15/2004 1:23:24 PM Eastern Standard

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
Okay, then please post a copy of the services list.  So, we can see what we are up against...     -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 1:27 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients I was abl

Re: Namespaces & Clients

2004-06-15 Thread NYY96
t is running. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 12:57 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients When I go to the address you listed I do not see a page, however if I go through ht

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
installed AXIS correctly and that it is running. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 12:57 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients When I go to the address you listed I do not see a pa

RE: Namespaces & Clients

2004-06-15 Thread Sandeep
] Sent: Tuesday, June 15, 2004 12:57 PM To: [EMAIL PROTECTED] Subject: Re: Namespaces & Clients   When I go to the address you listed I do not see a page, however if I go through http://localhost:8080/axis I can click on Services and see my service deployed (And access it's WSDL).

Re: Namespaces & Clients

2004-06-15 Thread NYY96
PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 12:04 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients I wanted to avoid posting the code because it is lengthy and generally deals with more than one file but here it is. Thanks for your

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
.   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 12:04 PMTo: [EMAIL PROTECTED]Subject: Re: Namespaces & Clients I wanted to avoid posting the code because it is lengthy and generally deals with more than one file but here i

Re: Namespaces & Clients

2004-06-15 Thread NYY96
ut the code it is impossible to tell you where you are going wrong... -Original Message-----From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 11:44 AMTo: [EMAIL PROTECTED]Subject: Namespaces & Clients I have successfully deployed a web service

RE: Namespaces & Clients

2004-06-15 Thread Meloro, John
You are going to have to post the client code.  Without the code it is impossible to tell you where you are going wrong... -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 15, 2004 11:44 AMTo: [EMAIL PROTECTED]Subject: Namespaces

Namespaces & Clients

2004-06-15 Thread NYY96
I have successfully deployed a web service with Axis. I have written a client which successfully produces the SOAPEnvelope. Directly under the Envelope's output is a 404 HTTP Error listing. It also then echo's the root of the web page I used as the namespace.   If I want to run this service o

Serialize dom instance -> namespaces

2004-05-20 Thread "Marcel Müller"
other way round. I had a look at the request SOAP message and found something interesting. All namespaces are added to each subnode again. Look at the sample. That is a childnode of the root node. http://www.w3.org/2000/09/xmldsig#"; xmlns:sam="http://www.it.usyd.edu.au/comp5347/2004/SAM/M

Re: Different WSDL namespaces

2004-03-19 Thread Anne Thomas Manes
BarZ, The WSDL 1.1 namespace is http://schemas.xmlsoap.org/wsdl/. The WSDL 2.0 Working Draft 10 namespace is http://www.w3.org/2003/11/wsdl. I anticipate that the final WSDL 2.0 spec will have yet another namepsace. WSDL 2.0 is not yet finished -- and it's definitely not ready for adoption. I do

Different WSDL namespaces

2004-03-19 Thread Barzilai Spinak
I've noticed that Axis generates WSDL's in the {http://schemas.xmlsoap.org/wsdl/} namespace, however W3C defines {http://www.w3.org/2003/11/wsdl} Anyone can explain what all this means? BarZ Nueva forma de conectarse a internet en URUGUAY - Cuanto gasta hoy ? -- Tel. 0909

Re: Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Junaid . Bhatra
Re: Possible bug: empty namespaces for attributes using doc-literal Please respond to [EMAIL PROTECTED]

Re: Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Matthew Sgarlata
Thank you for your help Junaid, but I still think that we have found a bug. You're right, specifying elementFormDefault="qualified" gives me the output I want. However, I think the SOAP generated when elementFormDefault="unqualified" (or is unspecified) is wrong. I think that specifying xmlns=""

Re: Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Junaid . Bhatra
PMSubject Possible bug: empty namespaces for attributes using doc-lite

Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Matthew Sgarlata
Types in my schema seem to have the namespaces specified incorrectly in the typeDesc initialization code (the namespaces are blank instead of using my namespace). For an example, see line 212 of Capability.java. This causes Axis' SOAP response to contain a blank namespace for my attributes,

Serializing attributes with namespaces

2004-02-04 Thread Alex Ceponkus
Hello, I am running into problems with namespaced attributes while writing out a SOAP header from a client side JAX-RPC handler. When using the following code ... currentElement.addNamespaceDeclaration("prefix1", "uri1"); javax.xml.soap.Name attributeName = soapEnvelope.createName("attr1", "p

prefix namespaces

2003-10-15 Thread Ness, Raymond
I am trying to implement a client call using the stubs generated from wsdl. In the process of doing this I need to establish the prefix for the name space in the first item in the body. This is what I get: http://namespaces";> http://namespaces";>fnce:?classId=Fold

Re: One service with operations in different namespaces

2003-09-25 Thread Anne Thomas Manes
You must use WSDL2Java to generate your server skeleton. At 10:12 PM 9/25/2003 +0200, you wrote: At the beggining I'd like to thank you for help! OK, this is WSDL document. Far I understand documentation, the wsdlFile atribute in deployment is just for returning WSDL, not for Axis service conf

Re: One service with operations in different namespaces

2003-09-25 Thread Marcin Okraszewski
At the beggining I'd like to thank you for help! OK, this is WSDL document. Far I understand documentation, the wsdlFile atribute in deployment is just for returning WSDL, not for Axis service configuration, isn't it? I'm afraid I will still get errors. Am I wrong? One more time thanks for hel

Re: One service with operations in different namespaces

2003-09-25 Thread Anne Thomas Manes
the top-level element in your SOAP body is determined by the targetNamespace attribute of the that defines the input element. If you want to use different namespaces, you need to define each message structure in a different schema. How can I tell Axis in deployment, where the XML Schema is

Re: One service with operations in different namespaces

2003-09-24 Thread Marcin Okraszewski
Are you using rpc/encoded or doc/literal? I am using message service. If you are using doc/literal, then the namespace of the top-level element in your SOAP body is determined by the targetNamespace attribute of the that defines the input element. If you want to use different namespaces, you

Re: One service with operations in different namespaces

2003-09-24 Thread Anne Thomas Manes
should be able to handle it. If not, then you should log it as a bug. If you are using doc/literal, then the namespace of the top-level element in your SOAP body is determined by the targetNamespace attribute of the that defines the input element. If you want to use different namespaces, you

One service with operations in different namespaces

2003-09-20 Thread Marcin Okraszewski
Hi. I would like to make a message service that has two operations in different namespaces. So one would be invoked by messages and . Unfortunately if I try to do it, I get an error, that Axis can't match an operation. When I set a namespace attribute in deploying I can run only one of

Namespaces in SoapMessage

2003-07-26 Thread java
www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> 12345 username password But Axis but namespaces in it and I can get rid of it. The real problem I'm facing is that the XML schema's include namespaces. So the code Axis created

Problem with namespaces in SOAP message

2003-07-22 Thread java
Hi, I try to create a SOAP message to send to a server. This server can't handle namespaces, so I need to get rid of the namespace in the message. the message I need is: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi=&qu

namespaces using document style

2003-03-26 Thread Daniel Eschle
/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://test";> 2 0 Are the namespaces within the body correct? Or does it have to be: http://test";> 2 0 thanks, Daniel

Re: Call.invoke deserializer messing up QName namespaces

2003-01-16 Thread Davanum Srinivas
Bryan, Does this happen with latest 1.1beta or nightly build as well? Thanks, dims --- Bryan Field-Elliot <[EMAIL PROTECTED]> wrote: > I'm using Axis 1.0. > > When I issue a "Call.invoke()", the response message coming from the > server is being deserialized into a DOM strangely. Namely, it is

Call.invoke deserializer messing up QName namespaces

2003-01-16 Thread Bryan Field-Elliot
I'm using Axis 1.0. When I issue a "Call.invoke()", the response message coming from the server is being deserialized into a DOM strangely. Namely, it is declaring a new namespace prefix for QNames, when the QName's namespace has already been declared in a parent node. This is a problem b

RE: Getting namespaces from wsdl with imports

2002-10-18 Thread Naveen Srinivasa Murthy
PROTECTED] Subject: Getting namespaces from wsdl with imports Hi, I would like to write an application that reads from a Wsdl URL and returns all namespaces declared in. Wsdl imports an other Wsdl and many Schemas. I'd like to get ALL namespaces (in Wsdl docs and Schemas). I think i have t

Getting namespaces from wsdl with imports

2002-10-18 Thread Tevoi Andrea
Hi, I would like to write an application that reads from a Wsdl URL and returns all namespaces declared in. Wsdl imports an other Wsdl and many Schemas. I'd like to get ALL namespaces (in Wsdl docs and Schemas). I think i have to use WSDL4J... any ideas? thanks in advance, Andrea Tevoi

Re: change in xmlToString()'s handling of empty namespaces?

2002-06-18 Thread Andrew Vardeman
thought I'd answer my own question, correct some typos... xmlToString() should read "ElementToString()" The problem arose because, in trying to build a more correct webapp, I put Oracle's XML parser in my WEB-INF/lib directory (it had been in Tomcat's lib directory before). It was responsible

Operation namespaces

2002-05-23 Thread Jim Dibble
I notice that in axis beta 1, the namespace for the body of the operation input message is, by default, the URL to reach the web service.  For example, the namespace of the input message’s body for the StockQuoteService’s getQuote operation is: ”http://localhost:8080/axisb1/StockQuoteServic

Ques: How to use namespaces in WSDL2Java and Java2WSDL?

2002-05-15 Thread Steven Schreiber
I've been working to deploy a service using axis. I have currently had it working after running a Java2WSDL on the interface (and bean objects for complex types) I wish to expose and then using WSDL2Java to create server-side stubs. My issue arises when I attempt to create these stubs in a sub-p

Re: Namespaces and beans

2002-04-10 Thread Tom Bradford
On Wednesday, April 10, 2002, at 10:49 AM, Volkmann, Mark wrote: > I'm not sure, but I doubt there's an option in Axis to do that.  Shame > on .NET for requiring that!  AFAIK those two snippets of XML above > should be considered identical by parsers. Child elements are supposed > to default t

RE: Namespaces and beans

2002-04-10 Thread Volkmann, Mark
Title: RE: Namespaces and beans > -Original Message- > From: Kolodziej, Erik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 5:50 AM > To: '[EMAIL PROTECTED]' > Subject: Namespaces and beans > > > Hi, > > > I´m us

Namespaces and beans

2002-04-10 Thread Kolodziej, Erik
Hi, I´m using a simple bean representing an user. The BeanSerializer produces the following elements in the soap message: http://myservices.test.org/";> test bob But the server (.NET) needs the following: http://myservices.test.org/";> test bob How can