newbie -How axis works ?Need help

2003-06-23 Thread Parames
Hi folks , Im new to Apache AXIS ,I need to write java web services for my .net client(ASP .net,GUI)... before that im trying to getknown about this by running some examplesI tried Stock example..but after deployment not able to see anything. 1)How can generate WSDL???Then 2) what is depl

SOAP Header for .NET client

2003-06-23 Thread Samprathi, Subramani non Unisys
Title: HELP: Modify Message Body in Handler Hello everybody, I am using weblogic and axis with .NET as the webservice consumer. I need to use both request and response headers. The generated WSDL with axis does not have any request/response header information. Is there way to generate th

HELP: Modify Message Body in Handler

2003-06-23 Thread Tripper McCarthy
Title: HELP: Modify Message Body in Handler I have been trying to modify the content of the message body in one of my handlers before the message reaches the actual web service. I have read through a number of message from the mailing list, and tried just about everything I can think of. But m

newbie: how to send a long or a long[] parameter?

2003-06-23 Thread szhu
Hi, I have a web service method that takes a long and long[] as parameters, how do I pass those from the Call.invoke method? I know how to pass objects like String as parameters, how does the service know the difference between long and Long? To be more precise: call.addParameter( "f

newbie: how to send a long or a long[] parameter?

2003-06-23 Thread szhu
Hi, I have a web service method that takes a long and long[] as parameters, how do I pass those from the Call.invoke method? I know how to pass objects like String as parameters, how does the service know the difference between long and Long? To be more precise: call.addParameter( "f

Message Style and WSDL

2003-06-23 Thread Bhanu Pabreja
Title: One step beyond .jws files   I have made a message style service with one method   public Document fetchData(Document doc){  // logic }yl   Then I deployed the service using the deploy.wsdd. I could not use the Java2WSDL utitily to generate "Message" style se

One step beyond .jws files

2003-06-23 Thread Wendy Smoak
Title: One step beyond .jws files Okay, I'm pretty comfortable with creating a Java class and dropping a .jws file into Axis.  I can look at the ?wsdl URL and it's more or less comprehensible. What's the next thing to learn?  Eventuallly, I need to accept SOAP requests with rather a lot of p

Re: WSDL2Java bug? or my misunderstanding

2003-06-23 Thread mark pope
Another example of why I feel I misunderstand the results. I have created a WSDL file that when parsed by Apache's Axis wsdl2java and Sun's wscompile generate similar code that compiles. The WS definition evolved from serveral 'unique behaviors' found in each tool. Wscompile does not like messa

Re: WSDL2Java bug? or my misunderstanding

2003-06-23 Thread mark pope
Rey, I used the command line and parameters that you specified and got a slightly different result. I got the ExceptionContent.java file generated as well as a OutageRequestWebService.java interface. The methods in the interface file throw an OutageRequestWebServiceException. This java file was

Re: WSDL2Java bug? or my misunderstanding

2003-06-23 Thread Reynardine
Mark, Before trying ant/build.xml, you could try running WSDL2Java manually from the command line to see what you get i.e. > > java org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -p yourpath.ws > yourwsdlfilename.wsdl > dir yourpath\ws\*.* > Then, if this works you know WSDL2Java runs o

RE: automatic wsdl generation

2003-06-23 Thread Sochea Meas (LMC)
Hi Remko and George!       Thank you for you help! By doing some testing and tries, I figure out that leaving the comment in the following line   AdminServlet    /servlet/AdminServlet    would prevent the wsdl to be generated. So I comment it out and now it works! Thanks for you suppo

Re: automatic wsdl generation

2003-06-23 Thread remko de knikker
1. How about all the rest of your service, is that all working fine? 2. Did you follow the deployment steps using     java org.apache.axis.client.AdminClient deploymentfile.wsdd ? r Sochea Meas (LMC) wrote: automatic wsdl generation Hi all,     When I append

RE: automatic wsdl generation

2003-06-23 Thread George Jagodzinski
Title: automatic wsdl generation In coldfusion's implementation of axis I have seen this occur if there is a wsdl generation error. Almost seems like the proper errors are not being thrown and instead you get a page cannot be found error.   Try running java2wsdl from the command prompt and s

automatic wsdl generation

2003-06-23 Thread Sochea Meas (LMC)
Title: automatic wsdl generation Hi all,     When I append "?wsdl" at the end of my service, I get a page not found error. What do I need to activate in order to make it work properly? I am using Axis 1.1 Final. Thank you for your support! - Sochea MEAS LMC/JG/A department Eri

Newbie: Making an element required

2003-06-23 Thread Lanigan, Ronan
Is there a way of specifying that an element is required in the Schema of the wsdl. I have tried using nillable="false", minoccurs = 1.No matter what I put in the wsdl, when I use wsdl2java, it goes back to nillable = "true". Here are my steps: 1. Write java interface etc. 2. Use java2wsdl to

Re: Generating an XML Schema from WSDL

2003-06-23 Thread Anne Thomas Manes
Make sure you're using the latest build. (but I suspect you can't download that either...) Axis's ability to generate complex Schema definitions is somewhat limited. That's why I recommend using WASP. Anne - Original Message - From: "Tim Thorpe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: WSDL2Java bug? or my misunderstanding

2003-06-23 Thread mark pope
Sorry I ran the last test with genned files from previous test. I re-ran wsdl with 1.1 and got the following. The following is accurate: With type="xsd1:ExceptionContent": 1. ExceptionContent.java is generated. 2. OutageRequestWebServiceException.java is NOT generated. 3. OutageRequestWebService

NoClassDefFoundError: com/sun/mail/util/MailDateFormat whenrunning samples/attachments from Axis 1.1

2003-06-23 Thread Philip Puccio
Hi, I get the following error when running EchoAttachment.main from samples/attachments. The readme in that directory says I need "mail and activation jars (ie., Tomcat's mail.jar and activation.jar)". So I've tried this with mail.jar and activation.jar from Tomcat 4.1.24 and with mail.jar from

Re: WSDL2Java bug? or my misunderstanding

2003-06-23 Thread mark pope
Chris, I'm calling wsdl2java with ant(build.xml) the only parameters I'm passing are "-osrc" for the location of ouput. With type="xsd1:ExceptionContent" ExceptionContent.java is generated, OutageRequestWebServiceException.java is generated, and OutageRequestWebService.java(below). Notice that t

RE: Generating an XML Schema from WSDL

2003-06-23 Thread Tim Thorpe
Anne Thank you for your response. I am in fact using rpc, my WSDL reflects that & I have been doing as you suggest, ie "take that type information from the definition and recontruct it as an XML Schema or definition". I guess I had been hoping for a more automated method of producing the sche

Re: Question regarding a webservice on Axis+Jboss for C++ client on windows

2003-06-23 Thread Anne Thomas Manes
Ajay,   You can certainly consume an Axis service from a Windows-based C++ client -- you just can't write that C++ client using Axis. You will need to use a different Web services platform to build your clients. Your choice of tool depends on what C++ tool you're using? If you're using Visua

Question regarding a webservice on Axis+Jboss for C++ client on windows

2003-06-23 Thread Ajay Gondhiya
I am a newbie so this may be a basic question. I would like to publish an EJB based webservice on Axis+JBoss and the consumer of the webservice is going to be a windows C++ application. In Axis user guide, I saw examples of java clients but I did not find any documentation on C++ clients so I am

HTTP tunneling -CVS

2003-06-23 Thread Srinath Perera
I am trying to set up my CVS client to accsess axis source code. Am behind a firewall and the attempt failed saying "SSH http tunneling not supported on port 3128" Can anybody help. Do the HTTP tunneling should enabled in Apache web server to acsess it. (mean adding plugin ect). OR is it ther

Deserializing arrays -- ClassCastException -- help

2003-06-23 Thread Bryan . Dollery
Hi, I've got a problem with axis 1.1 and any help would be appreciated. I've got a simple service that has two simple methods: Student getStudent(); Student[] getByName(); The getStudent() method works fine using the BeanSerializerFactory, but I've got problems with the getStudentByName() method

Re: Generating an XML Schema from WSDL

2003-06-23 Thread remko de knikker
I am using the tag in the wsdd file: eg. This will include the schema in the generated wsdl from the ?wsdl-query. I just haven't figured out how to include both input and output schema's. Does anyone know? remko Anne Thomas Manes wrote: If you're using document/literal, then all of you

Re: Generating an XML Schema from WSDL

2003-06-23 Thread Anne Thomas Manes
If you're using document/literal, then all of your elements should be defined in the section already, which is defined using XML Schema. You can simply extract the section. If you're using rpc/encoded or rpc/literal, then either you've defined the type information in the structure, or you've de

Re: WS-Security JAR ???

2003-06-23 Thread Davanum Srinivas
Anne, :) :) :) Waz trying to keep a lid on it, till we get things moving here. :) :) :) -- dims --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > According to this article [1], Verisign provides an open soure WS-Security > kit at SourceForge. And they also provide a toolkit called TSIK [2] that

Re: WS-Security JAR ???

2003-06-23 Thread Anne Thomas Manes
According to this article [1], Verisign provides an open soure WS-Security kit at SourceForge. And they also provide a toolkit called TSIK [2] that supplies XML Enc and XML Sig. I found two projects at SourceForge - wss4j [3] which is build on Axis (ahhh - that's dims) - mod-ws-security [4] which

Re: WS-Security JAR ???

2003-06-23 Thread Davanum Srinivas
Kai, Wait for a week or so. We are trying to setup a project for doing just this. Details @ http://nagoya.apache.org/wiki/apachewiki.cgi?WebServicesProjectPages/WebServicesProjectProposals -- dims --- Kai Unewisse <[EMAIL PROTECTED]> wrote: > > HI all, > > I am looking for JAR-file(s) I need f

WS-Security JAR ???

2003-06-23 Thread Kai Unewisse
HI all, I am looking for JAR-file(s) I need for WS-Security ? I want to sign and encrypt, so I need also XML DigSig and XML Encryption, right ? I 've seen the package Apache XML Security with empty logs. ;-( I also have seen huge tutorials and no jars at IBM, But is somewhere a WS-Security-pack

RE: How to make CalcClient respond to GET/POST requests?

2003-06-23 Thread Ingrid Falk
> "Wendy" == Wendy Smoak <[EMAIL PROTECTED]> writes: Wendy> Yes, that's it! But now I have a strange result with Wendy> subtract: Wendy> http://localhost/axis/Calculator.jws?method=subtract&i1=25&i2=10 Wendy> Gives: -15 Yes, I noticed that too. Somehow the parameters get r

Generating an XML Schema from WSDL

2003-06-23 Thread Tim Thorpe
Hello ! Could anyone tell me if/how I can generate a W3C XML Schema from a WSDL that I have produced ? I want to put everying from the messages down into the types/schema (not the port, binding or service stuff). I use XML Spy as my XML editor, into which I have loaded the my WSDL without error,