AW: Encoding question, UTF-8, '&' escaped chars, etc.

2003-02-12 Thread Oliver Adler
Hi Roy, this is XML-Encoding. You can read about this in the xml-specs (www.w3c.org) Regards Oliver -Ursprüngliche Nachricht- Von: Roy Wood [mailto:[EMAIL PROTECTED]] Gesendet: Mi 12.02.2003 21.20 Uhr An: [EMAIL PROTECTED] Cc: Betr

AW: AW: How to set JMS transport destination service

2003-02-12 Thread Oliver Adler
Hi Michal, the client side and and jms part is correct (we do it the same way). On the server side we have a AxisServer Instance which we invoke: ... FileProvider provider = new FileProvider(serverConfigFile); engine = new AxisServer(provider); ... //value is the string from jms MessageConte

RE: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Anne Thomas Manes
I sound also mention that Macromedia and Borland both distribute Axis in their products, too. Anne > -Original Message- > From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 8:32 PM > To: [EMAIL PROTECTED] > Subject: RE: Axis vs. IBM WSTK vs. Sun Java W

RE: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Anne Thomas Manes
WSTK includes the binaries (not source) for Axis as well as wsdl4j, lotusXSL, uddi4j, and wsil4j. See http://www.alphaworks.ibm.com/aw.nsf/reqs/webservicestoolkit. Anne > -Original Message- > From: Daniel Elenius [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 4:45 PM > To

Fault - makeTypeElement

2003-02-12 Thread Contractors
hi i am using axis 1.1 beta. I was able to generate java files from my wsdl,but when i access the wsdl from tomcat I am getting the following error. Please let me know the reason Thanks in advance contractor Fault - makeTypeElement() was told to create a type "{http://localhost:8080/axis/OSS

RE: Type Jeff Greif [jgreif@alumni.princeton.edu]

2003-02-12 Thread Cory Wilkerson
Pass it args, not args[0]. -Original Message-From: Ghershony, Arie [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 12, 2003 3:55 PMTo: '[EMAIL PROTECTED]'Subject: RE: Type Jeff Greif [[EMAIL PROTECTED]] I try to call this function and I get an error:   

RE: Type Jeff Greif [jgreif@alumni.princeton.edu]

2003-02-12 Thread Ghershony, Arie
I try to call this function and I get an error:    public static void main(String [] args) throws Exception { OrderB client = new OrderB();    System.out.println(client.getBattleService(args[0]));    } getBattleService(java.lang.String[]) in

RE: Type

2003-02-12 Thread Ghershony, Arie
I try to call this function and I get an error:    public static void main(String [] args) throws Exception { OrderB client = new OrderB();    System.out.println(client.getBattleService(args[0]));    } getBattleService(java.lang.String[]) in

Re: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Daniel Elenius
Oh. So WSTK is a proper superset of Axis? /Daniel On Wed, 2003-02-12 at 22:03, Doug Davis wrote: > > > > Yes and Yes. > -Dug > > > Barry Levinson <[EMAIL PROTECTED]> on 02/12/2003 04:00:35 PM > > Please respond to [EMAIL PROTECTED] > > To:[EMAIL PROTECTED] > cc: > Subject:Re: Axis

WSDL2Java exception with complex .NET WSDL

2003-02-12 Thread Richards, Mark
I have a .NET service that returns an array of widgets and the wsdl contains the flowing definition of a complex type http://schemas.xmlsoap.org/wsdl/"; /> Although the d7p1 namespace definition follows the entry in the wsdl, WSDL2JJava complains about the undecla

Re: return value as an XML document

2003-02-12 Thread Frank Cohen
It looks like you might be trying to set-up a SOAP method using SOAP RPC or SOAP document-style encoding. That is, the input is an XML tree in String form. If that's true then the output should also be a String, even if it contains an XML tree. Most XML libraries give you a method to output an XML

RE: Type Jeff Greif [jgreif@alumni.princeton.edu]

2003-02-12 Thread Ghershony, Arie
thank you -Original Message-From: Jeff Greif [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 12, 2003 4:19 PMTo: [EMAIL PROTECTED]Subject: Re: Type Jeff Greif [[EMAIL PROTECTED]] use XMLUtils.PrettyElementToWriter   - Original Message - From:

Re: Type Jeff Greif [jgreif@alumni.princeton.edu]

2003-02-12 Thread Jeff Greif
use XMLUtils.PrettyElementToWriter   - Original Message - From: Ghershony, Arie To: '[EMAIL PROTECTED]' Sent: Wednesday, February 12, 2003 12:49 PM Subject: Type Jeff Greif [[EMAIL PROTECTED]] Hi, I still receive an error: clientaxis\Battle\OrderB.

Re: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Doug Davis
Yes and Yes. -Dug Barry Levinson <[EMAIL PROTECTED]> on 02/12/2003 04:00:35 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Re: Axis vs. IBM WSTK vs. Sun Java WSDP Doesn't IBM WSTK use Axis? Isn't Axis distributed with WSTK? --Barry Anne Thomas Manes wr

Re: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Barry Levinson
Doesn't IBM WSTK use Axis? Isn't Axis distributed with WSTK? --Barry Anne Thomas Manes wrote: Sun's implementation is not open source. It is a reference implementation. The source is available, but it isn't open source. It is subject to Sun's source license. The original Apache SOAP project i

Type Jeff Greif [jgreif@alumni.princeton.edu]

2003-02-12 Thread Ghershony, Arie
Hi, I still receive an error: clientaxis\Battle\OrderB.java:322: PrettyElementToStream(org.w3c.dom.Element,java.io.OutputStream) in org.apache.axis.utils.XMLUtils cannot be applied to (org.w3c.dom.Element,java.io.StringWriter)  XMLUtils.PrettyElementToStream(result, w);   

Bad XML returned

2003-02-12 Thread Sloan Seaman
First off: I'm new to Axis and SOAP. I am using Axis to interact with an external service. The service is returning XML that isn't properly formatted and is causing Axis to throw "child element found" exceptions. I need to manipulate the XML (to correct it) before axis starts to deserialize it.

Encoding question, UTF-8, '&' escaped chars, etc.

2003-02-12 Thread Roy Wood
I'm fetching data from my SOAP service, and some of that data contains characters with the high-bit set. For example, one of the characters is ASCII 0xD0. When my client receives the data, this has been transformed into the sequence "­". And yes, my client is a legacy, non-Java client, so I have

Re: Type

2003-02-12 Thread Jeff Greif
java.io.StringWriter - Original Message - From: Ghershony, Arie To: '[EMAIL PROTECTED]' Sent: Wednesday, February 12, 2003 11:23 AM Subject: Type     But it doesn't recognize the class StringWriter!!   Thanks Aria  

Type

2003-02-12 Thread Ghershony, Arie
    But it doesn't recognize the class StringWriter!!   Thanks Aria -Original Message-From: Jeff Greif [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 12, 2003 2:01 PMTo: [EMAIL PROTECTED]Subject: Re: Type ?? StringWriter w = new StringWriter(); XmlUtils.PrettyEle

Re: Connection refused when I run Admin Client

2003-02-12 Thread Zhaohua Meng
I think by default AdminClient assumes your Tomcat runs at port 8080 on localhost. Try -l option as following: $ java org.apache.axis.client.AdminClient -l"http://yourhost:port/servlet/AxisServlet"; list If you installed Axis with "/axis" context, it should be: $ java org.apache.axis.client.Ad

Re: AW: How to set JMS transport destination service

2003-02-12 Thread michal.strelec
Hi Oliver, thanks for response, but I'm not absolutely about setting messageContext. Where this message context should be set. I guess on the server side, probably. In my opinion message lifetime looks like this: Client side --- 1.Call object is created 2.Call object is set to use JMS

Re: Type ??

2003-02-12 Thread Jeff Greif
StringWriter w = new StringWriter(); XmlUtils.PrettyElementToWriter(result, w); return w.toString(); - Original Message - From: Ghershony, Arie To: '[EMAIL PROTECTED]' Sent: Wednesday, February 12, 2003 10:44 AM Subject: Type ?? Hi,   How do I return this

RE: attachments.Directory and relative paths

2003-02-12 Thread Kellogg, Richard
Cory, I have submitted this as a bug. See the following: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16943 I think you can add an option to the deployment descriptor to override this setting. I do agree this should be handled differently. Rick > -Original Message- > From: Cory

RE: bean serializer

2003-02-12 Thread San 'NeTTwerk' Mehat
Hey David,     The issue *I’m* having is that the consumer is a .NET web service.. so what I want to be able to do is aim VS.NET at the ?wsdl path that axis generates and begin consuming the service… J -san     -Original Message- From: David Gilbert [mailto:[EMAIL PROTECTED]

attachments.Directory and relative paths

2003-02-12 Thread Cory Wilkerson
All, Confused as to how I can *not* hard code the value attribute of the attachments.Directory parameter. This server-config will be deployed to 12 servers or so that don't share the same path as our development environment -- so, I'd like to make the attachmetns directory relative to somethi

Type ??

2003-02-12 Thread Ghershony, Arie
Hi,   How do I return this function (which is the an XML document.  here it is prinetd to the command line. XMLUtils.PrettyElementToStream(result, System.out);  Thanks Aria 

RE: bean serializer

2003-02-12 Thread David Gilbert
I had some issues returning beans and they got resolved when I used the code generated from WSDL2Java.  The generated files will provide all the mappings and they are very easy to use.  Try using Java2WSDL and then WSDL2Java and use the generated classes for your client.  Search for postings

RE: Connection refused when I run Admin Client

2003-02-12 Thread Philip Li
Right. It's not running on 8080. And I need to use -p for the AdminClient. Thanks very much. Philip -Original Message- From: Cory Wilkerson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 6:30 AM To: [EMAIL PROTECTED] Subject: RE: Connection refused when I run Admin Clien

AW: How to set JMS transport destination service

2003-02-12 Thread Oliver Adler
Hi Michal, what you have to do is to call the messageContext.setTargetService Method on the MessageContext object( in your case with "MessageService" as parameter). How you find the servicename in a "real" application is up to you. we weren't able to find a "standard" for jms. If you want to l

Re: WSIF vs WSDL2Java question

2003-02-12 Thread BLIS Webmaster (Patrick Houbaux)
Hi Anthony, Thank you ... it answers to the question I asked but I actually wanted to know more about WSIF before I go deeper into the documentation. I haven't experiment this technology yet and it sounds interesting ... I will have a look more seriously. I had an other answer to my question th

RE: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Anne Thomas Manes
Sun's implementation is not open source. It is a reference implementation. The source is available, but it isn't open source. It is subject to Sun's source license. The original Apache SOAP project is based on IBM's SOAP4J submission. SOAP4J was the first published SOAP implementation. It had some

How to set JMS transport destination service

2003-02-12 Thread michal.strelec
Hello, I'm trying to implement JMS transport layer for SOAP messages using openJMS provider. I'm able to send SOAP message from client application using JMS. The message is stored in JMS queue succesfully. I wrote a second application (simillar to SimpleJMSListener) which listens for incomming J

bean serializer

2003-02-12 Thread luca marano
hi i wrote the client to access to a web service returning a bean this is my relevant code: String endpoint = "http://localhost:8080/axis/services/MessageService";     Service  service = new Service();    Call call    = (Call) service.createCall();     call.setTargetEndpointAddress( new

Re: AW: WSIF vs WSDL2Java question

2003-02-12 Thread BLIS Webmaster (Patrick Houbaux)
Hi Oliver, Thanks .. I didn't see that one .. seems that this is the solution. But then I need to find a way to register several servers in my client so that I don't have to change the code everytime I want to connect to a new server maybe an external configuration file. Thanks, Patrick.

RE: Axis Bean-mapping -> .NET consumers?

2003-02-12 Thread San 'NeTTwerk' Mehat
Hmm thanks Maurizio When I've tried to deploy 'example5' and get the wsdl I get this: Fault - WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: The value of the attribute "prefix="xmlns",localpart="tns1",rawname="xmlns:tns1"" is invalid. Prefixed namespace binding

Re: Axis Bean-mapping -> .NET consumers?

2003-02-12 Thread Maurizio Sciglio
Hi, I successfully wrote some Web Services consumed from .NET clients using Java Beans as return types. Greetings Maurizio - Original Message - From: "San 'NeTTwerk' Mehat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 6:15 PM Subject: Axis Bean-mapping

Axis Bean-mapping -> .NET consumers?

2003-02-12 Thread San 'NeTTwerk' Mehat
Hey there, I'm attempting to write a web service which allows consumption from .NET web service clients. I'm wondering if beans exported with a 'BeanMapping' are consumable via .NET or is it generally preferable to write custom wrappers for this sort of thing? (I've tried to experiment with exam

RE: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Daniel Elenius
And are Sun's and IBM's runtime environments not open source? Does WSTK require WebSphere to run? If Sun's runtime is open source, what is the motivation for this project? /Daniel On Wed, 2003-02-12 at 18:04, Anne Thomas Manes wrote: > IBM WSTK is based on Axis. > Both Axis and JWSDP support the

RE: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Carlos Barroso
Hy there. Can someone tell me which one is the best regarding performance?

RE: Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Anne Thomas Manes
IBM WSTK is based on Axis. Both Axis and JWSDP support the JAX-RPC API. The tools are a bit different, though. When you build a client or service with one, you must deploy it using that system's runtime environment. For that reason, I'd recommend using Axis. Anne > -Original Message- > F

Axis vs. IBM WSTK vs. Sun Java WSDP

2003-02-12 Thread Daniel Elenius
Hi All! I am new to web services, and I'd like to ask a newbie question. I am doing a project about integrating WSDL/SOAP with JXTA (www.jxta.org). How does Axis compare with IBM's Web Services Toolkit and Sun's Java Web Services Developer Pack? Are they all compatible somehow? What features diff

Re: WSIF vs WSDL2Java question

2003-02-12 Thread Anthony Elder
Hi Patrick, I think what you're asking is can your client using WSIF use multiple ports? The answer is yes thats exactly the type of thing WSIF is for. If you look at say the WSIFstockquote testcase WSDL: http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-axis-wsif/java/test/stockquote/wsifservice

AW: WSIF vs WSDL2Java question

2003-02-12 Thread Oliver Adler
Hi Patrick, your ServiceLocator has a second method which accepts a URL object. This is the way to access a identical(!) service under a different url. I hope that helps. Regards Oliver -Ursprüngliche Nachricht- Von: BLIS Webmaster (Patrick Houbaux) [mailto:[EMAIL

returning an array of java bean

2003-02-12 Thread luca marano
how can i write  a client accessing to a service returning an array of bean?   this is my relevant code:     String endpoint = "http://localhost:8080/axis/services/MessageService";       Service  service = new Service();    Call call    = (Call) service.createCall();       call.setTargetE

WSIF vs WSDL2Java question

2003-02-12 Thread BLIS Webmaster (Patrick Houbaux)
Hi all, I'm still quite a newbie to everything concerning web services and I would like somebody's opinion on something I'm wondering. I want to write a client that should access to a web service defined through WSDL that is hosted physically on several servers. I have made some experimentatio

TypeMapping configuration

2003-02-12 Thread Tevoi Andrea
Hi all, In my server-config.wsdd I can specify a TypeMapping like: Is there a way to specify MORE information about this typeMapping? What I'm trying to do is to specify at deployment time informations about an xmlType like: where maxLength is the inform

RE: issue -- type attribute required

2003-02-12 Thread Cory Wilkerson
JDK 1.4 fixes this issue -- but, I can't roll with JDK 1.4 in production -- must be something killing me in the classpath...ack. -Original Message- From: Cory Wilkerson Sent: Tuesday, February 11, 2003 5:15 PM To: [EMAIL PROTECTED] Subject: issue -- type attribute required All, I've a

RE: Connection refused when I run Admin Client

2003-02-12 Thread Cory Wilkerson
Are you sure that tomcat is running on 8080? -Original Message- From: Philip Li [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 7:23 PM To: [EMAIL PROTECTED] Subject: Connection refused when I run Admin Client I got the connection refused exception when I tried to run the Adm

RE: JMS transport only supports BytesMessage ??

2003-02-12 Thread Jaime Meritt
Glad I could help clear that up. To submit a patch you should run: cvs diff -u -w (in directory xml-axis\java) > diff.txt Then you take the text file it generates and send it to the axis-dev list. At that point one of the committers will review it and incorporate the patch if appropriate. Sinc

RE: WSDL informations during (de)serialization

2003-02-12 Thread Ghershony, Arie
I have to create a service that will receive a request from a client for an XML document, perhaps an attachemnt. Does any one know which style of service/client should I use? a document, RPC style, and why? there are so many way of doing thing, that I am a bit confused. If you have a sample co

Differences in deploying

2003-02-12 Thread Luis Rodrigo
Hi all, What are the differences between deploying a service placing a jar file in the ...\WEB-INF\lib dir and placing the classes in the WEB-INF\classes dir? (or where can I read about them?) Thanks in advance. Luis.

Re: JMS transport only supports BytesMessage ??

2003-02-12 Thread James Turner
Jaime, Thanks for clearing that up. I've already had to hack the changes to get my current proof of concept project working. I will be happy to contribute these when I have some time at the end of the project to apply them properly. How do I contribute the patches ?. Thanks James - Orig

WSDL informations during (de)serialization

2003-02-12 Thread Tevoi Andrea
Hi all, is there a way in axis to get information from WSDL during (de)serialization? I mean, i have an xml type defined like: ... ... and during (de)serialization i need to get maxLength info, but as i know this is stored only in WSDL. thanks Andrea Tevoi

AXIS + JBOSS consolidated web services

2003-02-12 Thread Phil Cornelius
I am running AXIS 1.0 under JBoss to expose my EJBs as SOAP services..(works great!!) I have two separate servers; one global and one local.. I need to call a SOAP service on the global server from a session bean method on my local server. I am using bean wrapped arrays of beans and so rather tha

generating server-config.wsdd without Version and AdminService services

2003-02-12 Thread ajbanck
Hi, I am using org.apache.axis.utils.Admin te generate server-config.wsdd from my deploy.wsdd. Problem is that the Version and AdminService services are added to server-config.wsdd. Is there any way to generate server-config.wsdd without adding these services? Thanks, ArentJan