Re: Unable to retrieve complex type in .net client

2005-05-06 Thread Anne Thomas Manes
The problem is caused by the fact that you don't provide unique signatures to differentiate the two methods, therefore .NET sends the same message (an empty ) for both methods, and Axis always invokes the first method. (I'm unclear why it works with the Axis client, because it also should send iden

Re: Error Running WSDLToJava: No symbol table entry found

2005-05-06 Thread Anne Thomas Manes
Eric, Your error is caused by an unqualified message reference in this binding definition (which appears in all three of your operations): http://www.starviewtechnology.com/schema/2.2/collector"; encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="literal">

Re: Unable to retrieve complex type in .net client

2005-05-06 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 shantanu chawla wrote: > As you can see the getPersons() function reply is getPerson() reply. > > Can someone provide any insight into it. I have tried it so many time > that I have run out of ideas. One solution, which I haven't used, is to modify

Unable to retrieve complex type in .net client

2005-05-06 Thread shantanu chawla
On my course of learning of webservices on Axis. I created a complex type Person containing age and name attributes. I tried to create another complextype PersonsContainer which contains a Person array and count. My wsdl has two functions getPerson() returning Person and getPersons() returning Per

Re: SOAPHeaderElement element = envelope.getHeaderByName

2005-05-06 Thread Anne Thomas Manes
QName = qualified name. It is the two part name of an element. For example, the QName of this element: blah is "foo:bar" which when deciphered really means "urn:namespace:foo}bar" The "foo" in is called the namespace prefix. It represents the URI specified in the "foo" namespace declaration (xml

RE: Turning off ?wsdl feature

2005-05-06 Thread Dill, Jens (END-CHI)
> You can specify a some-filename option in your > deployment descriptor, which is used to satisfy the ?wsdl suffix to the > URL of the relevant service. Is this documented anywhere? Can you give explicit, detailed examples? I have tried to do this, using AXIS 1.2rc2, without success. I've t

RE: exposure to web service

2005-05-06 Thread Jay, Thomas
In the Service Impl class, you will have the operation method. In that method, it is typical to call a stateless session bean that does your work, this would be a Session Facade type pattern. This allows the Web Service to be Scaleable across a J2EE server. Alternatively, you can have the method

Re: Turning off ?wsdl feature

2005-05-06 Thread Davanum Srinivas
Please take a look at QSListHandler and QSWSDLHandler code -- dims On 5/6/05, Tim K. (Gmane) <[EMAIL PROTECTED]> wrote: > I wanted to do the same and more, e.g. prevent listing all the services > and their methods when you go to the servlet's mount point, prevent > requests to the AdminService, e

Re: Turning off ?wsdl feature

2005-05-06 Thread Davanum Srinivas
see org.apache.axis.transport.http.QSWSDLHandler.java. you can write your own wsdl handler and stick into the transport (in server-config.wsdd) -- dims On 5/6/05, Jeff Greif <[EMAIL PROTECTED]> wrote: > Here's a way that's not too pretty: > > You can specify a some-filename option in your > depl

Re: Turning off ?wsdl feature

2005-05-06 Thread Tim K. (Gmane)
I wanted to do the same and more, e.g. prevent listing all the services and their methods when you go to the servlet's mount point, prevent requests to the AdminService, etc. At least for some of the cases there are global configuration options in Axis, but it didn't seem to work, see this bug

RE: java to wsdl

2005-05-06 Thread Koney, Satish
You dont need to worry about the imports. But you could have easily tested it..why wait for reply? > -Original Message- > From: wsdl nerd [SMTP:[EMAIL PROTECTED] > Sent: Thursday, May 05, 2005 12:38 PM > To: axisgroup > Subject: java to wsdl > > Good Afternoon to all, > I'm happy

Re: Turning off ?wsdl feature

2005-05-06 Thread Jeff Greif
Here's a way that's not too pretty: You can specify a some-filename option in your deployment descriptor, which is used to satisfy the ?wsdl suffix to the URL of the relevant service. You could either have no file at the specified location (which would probably cause an exception in Axis and a

CastCallException

2005-05-06 Thread Bruno Gonçalves
Hi there! I found the reason for the CastClassException in my webapp. I'm using JAAS in my webapp, and I must deploy (with ant) it for using in my webapp, and is in there that a call to a webservice is done. It seems that the call by this way generate a ClassCastException :( Instead, If I cal

Re: Turning off ?wsdl feature

2005-05-06 Thread aedemar.cooke
I looked at historic mails as I remember someone asking how to turn off the ?wsdl feature. All I could find was a reference to some article that no longer exists. Can someone please explain how to turn this feature off. Thanks.

Re: how to subscribe the services on the server?

2005-05-06 Thread 洪武 连
Thanks,can you give me more details.or send me some exampls or resources links.Anne Thomas Manes <[EMAIL PROTECTED]> 写道: You must set up the client as a service and define an interface thatsupports one-way messages.AnneOn 5/6/05, 洪武 连 <[EMAIL PROTECTED]>wrote:> I know that Axis can do request/respo

Re: [problems with Axis-.NET interop]

2005-05-06 Thread Anne Thomas Manes
Marco, Your response message doesn't match the WSDL, which explains why .NET can't interpret it. According to your WSDL the response message should look like this: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchem

Re: SOAPHeaderElement element = envelope.getHeaderByName

2005-05-06 Thread Anne Thomas Manes
The first parameter is the namespace URI of the header's QName; the second parameter is the local name. So, for example, if you wanted to retrieve the WS-Security header: http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd .../> The first parameter would be "http

Re: [problems with Axis-.NET interop]

2005-05-06 Thread Marco Büchler
the wsdl file: - <#> http://xml.apache.org/xml-soap*"; xmlns:impl="*urn:Frequency*" xmlns:intf="*urn:Frequency*" xmlns:tns1="*http://datatypes.webservice.wortschatz.uni_leipzig.de*"; xmlns:wsdl="*http://schemas.xmlsoap.org/wsdl/*"; xmlns:wsdlsoap="*http://schemas.xmlsoap.org/wsdl/soap/*"; xm

Re: stop/start Axis to redeploy?

2005-05-06 Thread LiChung Liu
Hi, I've had similar experience. Depends on the privilege of the user you are running the batch, it may not be able to override the previous code on the application server. What has worked for me is, instead of copying the .class files into the WEB-INF/classes, make the batch script to jar up the

Re: how to subscribe the services on the server?

2005-05-06 Thread Anne Thomas Manes
You must set up the client as a service and define an interface that supports one-way messages. Anne On 5/6/05, 洪武 连 <[EMAIL PROTECTED]> wrote: > I know that Axis can do request/response application.But it doesn't fit me.I > want to let the services on the server send back some runtime data at an

Re: [problems with Axis-.NET interop]

2005-05-06 Thread Anne Thomas Manes
Please provide the WSDL. On 5/6/05, Marco Büchler <[EMAIL PROTECTED]> wrote: > hi, > > we 're trying to install some services needing some more complex > datatypes. first we tried an String[][] but we got some problems with > this. so we tried to splitt String[][] into an datamatrix-objekt > inc

Re: stop/start Axis to redeploy?

2005-05-06 Thread mmalinos
Dave, Yes, that is the correct behavior...not only for deploying new classes to Axis, but for any Web Application deployed to Tomcat. Also, if you make any changes to the server-config.wsdd you need to stop and start Axis for the changes to be applied... Hope this helps, Mark A. Malinoski AES/PH

stop/start Axis to redeploy?

2005-05-06 Thread Dave Overbeck
Hello, I've been debugging a web service and have discovered that in order to deploy a new version of the .class file, I have to stop Axis (in the Tomcat Manager screen) and then start it again. I have a batch file that undeploys, copies the class file, and then deploys, but that does not have

[problems with Axis-.NET interop]

2005-05-06 Thread Marco Büchler
hi, we 're trying to install some services needing some more complex datatypes. first we tried an String[][] but we got some problems with this. so we tried to splitt String[][] into an datamatrix-objekt including an array of datavectors. an datavector has a string[]-array-field. se attachments

how to subscribe the services on the server?

2005-05-06 Thread 洪武 连
I know that Axis can do request/response application.But it doesn't fit me.I want to let the services on the server send back some runtime data at any moment without the client requesting.how can i finished it? Thanks! Do You Yahoo!? 注册世界一流品质的雅虎免费电邮

Exception handling

2005-05-06 Thread Tom Ziemer
Hi everybody. I am currently working on a web service that is supposed to authenticate a user against a ldap server. If the username/password combination does not match, my LdapAuthManager throws an exception, which is passed to my web service, which in turn passes it to the client. To achieve

SOAPHeaderElement element = envelope.getHeaderByName

2005-05-06 Thread Plorks mail
Please can someone help me I'm trying to implement the above line of code but stuck as to what to put in the first parameter SOAPHeaderElement element = envelope.getHeaderByName("http://localhost:8080what goes in here", "headername"); Can some please help me Many thanks __

RE: is it possible to change soapenc:string to xsd:string in generated WSDL?

2005-05-06 Thread Merten Schumann
Davanum, understand, same for me here in my stuff to process, I was just trying to raise my feature request and bug report a bit in priority ;-) ;-) ;-) You have this "vote" feature on JIRA, which is IMHO a suitable mechanism to kind of set priorities and all. But nobody else seems to be interest

Junaid Bhatra is out of the office.

2005-05-06 Thread Junaid . Bhatra
I will be out of the office starting 05/06/2005 and will not return until 06/13/2005. I will respond to your message when I return.

exposure to web service

2005-05-06 Thread wsdl nerd
Hi, I want to expose a function that is in a class file which inturn imports a set of other classes and packages. I plan to use the java2wsdl and wsdl2java, but should i take care about all the import stuff?? Hoping for an immediate reply, Thanks.. ___