Viewing SOAP messages with Axis(as client) on Weblogic server

2004-03-16 Thread Jay D
Dear List members, I am using axis (wsdl2java) in weblogic for connecting to a web service deployed on the internet. We would like to view the soap sent and received. Can you please suggest a best way to view the messages. Thanks in advance. Regards jkdDo you Yahoo!? Yahoo! Mail - More

Re: Viewing SOAP messages with Axis(as client) on Weblogic server

2004-03-16 Thread David Bell
Jay D wrote: Dear List members, I am using axis (wsdl2java) in weblogic for connecting to a web service deployed on the internet. We would like to view the soap sent and received. Can you please suggest a best way to view the messages. Thanks in advance. Regards jkd Do

Re: Viewing SOAP messages with Axis(as client) on Weblogic server

2004-03-16 Thread smcardle
Use the TCP Monitor tool that comes with Axis :) Regards Steve Quoting Jay D [EMAIL PROTECTED]: Dear List members, I am using axis (wsdl2java) in weblogic for connecting to a web service deployed on the internet. We would like to view the soap sent and received. Can you please

Re: Viewing SOAP messages with Axis(as client) on Weblogic server

2004-03-16 Thread Jay D
Hello, Iused tcpmon as suggested. I added a port with the following details: Listen Port = 123 Act As a listner : Target host name and port number are the location where the weblogic server is running. I sent some request but did not see any entries on tcpmon. tcpmon shows "waiting for

WSDL:message without part

2004-03-16 Thread arnaud
My service document return a DOM object. Is it possible/correct to not specify a part for the request/response message in the WSDL (wsdl:message name=Request/) or i must specify an element with a name and a type as xsd:anyType. If is it possible in mode document to specify an abstract type as

How to implement SSL security within Axis?

2004-03-16 Thread Ext-Zoltan.Schreter
Hi people, What i am trying to do is this: a client sends a HTTPS request to my axis-based Web Service. I want to have a Handler class which extracts the Certificate from the request and checks the Distinguished Name in it against a database of names. I know how to use Handler classes, I just

RE: Doc/Literal support in axis

2004-03-16 Thread Nicholas Remy
With this in mind, I assume you're making good use of the wsdlFile tag to override the Axis-generated WSDL and hand back your hand-crafted one? Nicholas Remy David Bell [EMAIL PROTECTED] 03/15/2004 06:34 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc

https without certificate

2004-03-16 Thread Hans Jakob Skovenborg
I have to make a client to acces to a https webservice. But the server don't have a certificate. Are there anyway to trust the server without certificate using the Axis framework? What I want to do, you can do in a clean https connection like - In com.sun.net.ssl.HttpsURLConnection there are a

RE: Doc/Literal support in axis

2004-03-16 Thread Marepalli, Somesh
If you have taken the pains to hand craft a WSDL and make it WS-I compliant, you might as well specify it in the .wsdd file with the wsdlFile tag. That way, you can override the generation of the WSDL from service by Axis... -Original Message- From: David Bell [mailto:[EMAIL PROTECTED]

RE: Regarding Axis and deploying services

2004-03-16 Thread Marepalli, Somesh
Hi: Anyone can help me on this Is there any log file for Axis Regards -Somesh From: Marepalli, Somesh Sent: Friday, March 12, 2004 4:24 PM To: [EMAIL PROTECTED] Subject: Regarding Axis and deploying services Hi: I am running into some problems with Axis

Re: message style web service with attachment

2004-03-16 Thread Dario Di Minno
maybe the way is to use in client call.addAttachmentPart(ap); (where ap is an org.apache.axis.attachments.AttachmentPart object) before invoking the web service? Dario Dario Di ha scritto: Hi everybody, I'd like the client of a message style web service (like the message example) to send an

Re: WSDL:message without part

2004-03-16 Thread Anne Thomas Manes
You must specify a part to represent the SOAP Body contents. No part definition specifies an empty SOAP Body. Assuming that you are using Document style, the part definition must reference an element definition. The element should be defined either in the types section or in an external schema

Re: makeTypeElement fault, ws return value null

2004-03-16 Thread Anne Thomas Manes
You can't have two elements with the same name in the same namespace. You should reference the ots:tp element from within the ots:tps definition reather than redefining it: xs:element name=tp xs:complexType xs:sequence xs:element name=id type=xs:string/

Custom serialization

2004-03-16 Thread Jonathan Melvin
Title: Message I have a class with a method that returns a string. The string is returned by a webservice Is there an easy way to tell axis to serialize this class to a string? This e-mail may contain privileged and confidential information and should not be used by anyone

RE: Doc/Literal support in axis

2004-03-16 Thread Anderson Jonathan
Hey gang, Time for my two cents. We've been using Axis 1.2 alpha builds since November '03 to build WS-I compliant document literal web services. How is this possible? Here's our cookbook: 1) Create XML schema in Altova XMLSpy that defines the datatypes that the web service is to

RE: Web Service Security - what's the best way to achieve it?

2004-03-16 Thread Anderson Jonathan
No easy answer, as it all depends on the deployment environment that you need to support. Who is consuming the service? Is it a portal? Do you own the portal server that is consuming it? What about the service itself? Do you own the whole server? Where are they located? Are they both on a

RE: Doc/Literal support in axis

2004-03-16 Thread Nelson Minar
Anderson Jonathan [EMAIL PROTECTED] wrote: Time for my two cents. We've been using Axis 1.2 alpha builds since November '03 to build WS-I compliant document literal web services. How is this possible? Here's our cookbook: This is a terrific message, thank you! I think this would be a great

Re: Viewing SOAP messages with Axis(as client) on Weblogic server

2004-03-16 Thread Nelson Minar
We would like to view the soap sent and received. Can you please suggest a best way to view the messages. You have many ways to do this: The standalone tcpmon application that comes with Axis The SOAPMonitor system that comes built into the Axis server SOAPScope, from MindReef. Very handy tool.

RE: Doc/Literal support in axis

2004-03-16 Thread Wei Hsu
Title: RE: Doc/Literal support in axis That was very helpful. Thanks a lot Jon! -Wei -Original Message- From: Anderson Jonathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 16, 2004 8:15 AM To: [EMAIL PROTECTED] Subject: RE: Doc/Literal support in axis Hey gang, Time for

WSDL2Java helpergen option

2004-03-16 Thread Louis . C . Hilden
Title: WSDL2Java helpergen option Hello, I'm having difficulty understanding what the --helpergen option in WSDL2Java is used for. The documentation says emits separate Helper classes for meta data. What is a helper class? What is the meta data used for? Thanks!

Regarding Axis and deploying services

2004-03-16 Thread Marepalli, Somesh
Hi : I am trying to run Axis within Tomcat Server with the reloadable flag set to true in the server.xml file for Axis context. When I place the .jar file for my web service the first time in Axis lib folder, it seems to deploy ok. However, when I overwrite this .jar file with an

Re: Doc/Literal support in axis

2004-03-16 Thread Barzilai Spinak
Nelson Minar wrote: Anderson Jonathan [EMAIL PROTECTED] wrote: ... No longer are we using java2wsdl to simply provide a RMI over http - the mentality of take your Java class and expose it as a web service should be combated wherever encountered. I'm slowly understanding the shift that

Re: Doc/Literal support in axis

2004-03-16 Thread Jim Murphy
Nelson Minar wrote: Anderson Jonathan [EMAIL PROTECTED] wrote: Time for my two cents. We've been using Axis 1.2 alpha builds since November '03 to build WS-I compliant document literal web services. How is this possible? Here's our cookbook: This is a terrific message, thank you! I think this

Re: Doc/Literal support in axis

2004-03-16 Thread Dennis Sosnoski
Jim Murphy wrote: ... IMHO, Web Service Message design has been an afterthought of the spec working groups that comprise your typical WS stack. You need to know a lot of grunge to design an easy to consume service: 1. XSD - what to use and what to avoid is the hard part especially when

RE: Doc/Literal support in axis

2004-03-16 Thread Anderson Jonathan
Jim, Nelson, all, So, now that we all agree that SOAP is just a framing protocol and processing model, and XML Schema is that de-facto type system for defining interoperable data types... The $50,000 Question: What problems can we solve with SOAP based Web Services? A colleague of mine has

axis 1.1 and xmlsec 2.0 (with JDK1.4.2 or JDK 1.3.6)

2004-03-16 Thread Lee, Insoo
Hello Would you know if axis 1.1 or (1.2) is compatible with xmlsec 2.0? Our axis on tomcat is happy with xml.jar from xmlsec 1.0.4, but with xmlsec.jar from xmlsec 2.0, the happy page complains that it can't find its dependency There seems to be known issue with xalan.jar with JDK 1.4.0, but I

RE: Doc/Literal support in axis

2004-03-16 Thread Anderson Jonathan
Dennis Sosnoski wrote: As I've said before, I think it's unfortunate that JAX-RPC/Axis is coming from such a strong rpc/enc orientation. I think an API for doc/lit services can be *much* simpler than the current mess of stubs, ties, wire, duct tape, chewing gum, etc. Is this not where everyone

Re: Doc/Literal support in axis

2004-03-16 Thread Dennis Sosnoski
Anderson Jonathan wrote: ... The $5000 Question: Should we not have native support in a programming language for XML Schema? Why all this mapping nonsense? That appears to be the bold new computing direction of the month for Microsoft. I think it's a bad idea. flameSchema is a

RE: Doc/Literal support in axis

2004-03-16 Thread Anderson Jonathan
Reading that Dennis, I actually think we're in the same camp. :) Thanks for taking the time to re-illustrate your position (I missed it in earlier threads). I have NEVER understood why XML Schema went as far as it did - extending simpleTypes to restrict values based on regular expressions seems

Re: Doc/Literal support in axis

2004-03-16 Thread Joseph Dane
Anderson Jonathan [EMAIL PROTECTED] writes: Maybe we'll see an XML Schema Lite in the future? we already have one of these: http://www.relaxng.org/ or maybe you meant maybe we'll see support for other schema languages in our WS tools in the future, in which case I wonder the same thing. --

RE: Doc/Literal support in axis

2004-03-16 Thread Anderson Jonathan
Awesome. I was aware of TREX, but not of RELAX or RELAX NG. I'd honestly forgotten there were alternatives to W3C XML Schema, which is most likely an unfortunate side effect of having my head down in the SOAP bubbles for too long. So the question really, as you pointed out, is toolkit support.

How to write Document Style web services

2004-03-16 Thread Asanka Priyanjitih
Hi All Who knows? What is process of writing Document style web services and how we can publish this web services to Tomcat application server. Please send me to how to do that Thanks regards G J A Priaynjith

RE: How to write Document Style web services

2004-03-16 Thread Senthil_KM
Document style web servcie Client side --- Say u have an xml document need to send this to the servcie Creat a SOAPBodyElement [] array and place the root of the XML document in it. Send this as a parameter when you call the web servcie using Call.invoke(param) where param is an

Re: Doc/Literal support in axis

2004-03-16 Thread Nelson Minar
This discussion has been very useful. Thank you! Jim Murphy of MindReef/SOAPScope said: What that means to me is that SOAP is the ... tags that allow service designers to put application stuff in one bucket (soap:Body) and keep that separate from non-functional stuff that goes in Headers. I

RE: How to write Document Style web services

2004-03-16 Thread Asanka Priyanjitih
Hi Senthil Thanks for u r help If u have some example program please sent it to me Thanks Regards G J A Priyanjith -Original Message- From: Senthil_KM [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 9:41 AM To: [EMAIL PROTECTED] Subject: RE: How to write Document Style

RE: How to write Document Style web services

2004-03-16 Thread Asanka Priyanjitih
Hi all Now I wrote code like import javax.xml.soap.*; public class Doc1 { public SOAPMessage getDoc(SOAPMessage sm) { return sm; } } Try to Access wsdl using web browser (http://127.0.0.1:8080/axis/Doc1.jws?wsdl) But it display following error

Re: Doc/Literal support in axis

2004-03-16 Thread Dennis Sosnoski
Nelson Minar wrote: This discussion has been very useful. Thank you! Jim Murphy of MindReef/SOAPScope said: What that means to me is that SOAP is the ... tags that allow service designers to put application stuff in one bucket (soap:Body) and keep that separate from non-functional stuff that