Hi All,
I have a document - literal web
service method
public Document
receiveDocument(Document docElems);
The WSDD for the above message is
as given
This generates a WSDL as given in
attachment.
Now my problem is -even
though it is specified in the WSDL that the
Hi
If ur service is deployed there
will be a entry in the server-config.wsdd under
tag.
U can manualy delete it from that
file to undeploy the Service
Cheers
Dhanush Gopinath Software Engineer
Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"When
a person really de
-archive.com/[EMAIL PROTECTED]/msg20064.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08732.html
Cheers
Dhanush Gopinath Software Engineer
Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"When
a person really desires something, all the universe conspires to help that
person to re
response code,
or a document?-pc- Original Message -From: Dhanush
Gopinath <[EMAIL PROTECTED]>Date:
Wed, 11 Aug 2004 10:33:34 +0530Subject: REPOST Re: Why there is
restriction for Method Signatures inMESSAGE Style?To: [EMAIL PROTECTED] Reposting
the Question.Any Ideas
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100
Ext:-1218
"It's the possibility of having a dream come true , that makes life
interesting" - Paulo Coelho, The Alchemist
- Original Message -
From:
Dorner Thomas
To: '[EMAIL
Reposting the
Question.
Any Ideas ?? Any Pointers also will
do
- Original Message -
From:
Dhanush
Gopinath
To: [EMAIL PROTECTED]
Sent: Monday, August 09, 2004 3:17
PM
Subject: Why there is restriction for
Method Signatures in MESSAGE Style?
Hi All
mlDoc);
Object[] inputParam = new
Object[] {xmlDoc};
System.out.println("Calling Webservice .. ");
Document retDoc =
(Document)call.invoke(inputParam);
System.out.println("Called Succesfully and got this Document "+ retDoc);
The error is thrown when it is creating a
Servi
a
String.
Can I anyway do that ?
Thanks in Advance
Cheers
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"It's the possibility of having a dream come true , that makes life interesting"
- Pa
WSDL is the medium through which u
define your Web Service Methods, How u access them ( data encoding and
protocols) and where the service is located .
In short it describes the Web Service ..
hence the name web service description language :)
Dhanush
- Original Message -
Vikas
DOM is quite a good thing to
solve your problem once u get the document object.
There are tutorials and articles in
the ibm.com/developerworks site or you can refer to the book Java and XML by
Brett McLaughlin , OReilly ... Thats the best book available in the market as
far as I
used jars may play a role with this
error
Cheers
Alex
Von: Dhanush
Gopinath [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 3.
August 2004 06:24An: [EMAIL PROTECTED]Betreff: Re: Problems with
DataHandler
Alex,
Will sugest you
some thing
ion/octet-stream"
Hope this helps
Cheers
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"It's the possibility of having a dream come true , that makes life interesting"
- Paulo Coelho, The Alchemist
- Original Mess
Message then
probably u can send that across.
Cheers
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"It's the possibility of having a dream come true , that makes life interesting"
- Paulo Coelho, The Alchemist
- Original Messag
Rajendra ,
You will have to generate the WSDL with
Message Style and then probably set the body of the SOAP message with the XML.
This is what I think.
But even I dont know how to write a
client to set the SOAP Body with xmlDoc.
Regards
Dhanush Gopinath Software
Engineer Mahindra
I will add one more line
..
Use this to get the request and respnse
message separately..
Message messageReq =
msgContext.getRequestMessage(); Message messageRes =
msgContext.getResponseMessage();
Cheers
Dhanush
- Original Message -
From:
Yves Langisch
Jeff,
U can implemet a Server Side Handler and
use the MessageContext Class to get the Request and Response Messages. There are
methods for this.
Hope this helps ...
Cheers
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"It&
Hi
Add Xerces Jars to ur Class Path and just
execute :)
But this error seems to be something
related with the XML Parsing ..
May be Xerces will aslo give this
Cheers
Dhanush
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"It&
Add the Xerces Jars it to the class
path may be my earlier mail didnt reach the group ..
Cheers
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"It's the possibility of having a dream come true , that makes life interesting"
Vineet
Can u just make sure that
Any of ur handlers are not deployed in
the server-config.wsdd file ..
Also try undeploying it using the
undeploy tool for client config file
Hope this helps
Cheers
Dhanush Gopinath Software
Engineer Mahindra British Telecom Ltd +91-020-4018100
Dhanush Gopinath Software Engineer Mahindra
British Telecom Ltd +91-020-4018100 Ext:-1218
"Fate, it seems, is not without a sense of irony" - Morpheus , The
Matrix
- Original Message -
From:
Dorner Thomas
To: '[EMAIL PROTECTED]'
Sent: Wednesday, July
The above code works fine for me on Axis
1.1
Hope this helps you. If you are so
particular of MMDS then I havent used it. I have tested a 10 MB file
sucessfuly.
Cheers
Dhanush Gopinath Software Engineer
Mahindra British Telecom Ltd +91-020-4018100 Ext:-1218
"Fate, it seems, is
Where is this
SOAPService service = msgContext.getService();
piece of
code written ? If its at the client sidc your message conetxt will be
null.
Dhanush
- Original Message -
From:
Lars
Engel
To: [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 1:39
AM
Su
under tag
??
Regards
Dhanush Gopinath Software Engineer Mahindra British Telecom Ltd
+91-020-4018100 Ext:-1218
- Original Message -
From:
Hiblot Sébastien
To: [EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 6:18
PM
Subject: Problem during the call of a
method
What is APP-INF folder ? If its just
another folder.. then that need to be in the classpath.
WEB-INF/lib comes with AXIS/Tomcat
where the application will search for the class/jar files automatically once the
TOMCAT_HOME is specified.
Dhanush Gopinath Software Engineer Mahindra British
Sagar,
I cannot confirm this but I will tell you
my view.
The WSDL u generate in the development
environment need not be regenerated at the Production environment. The first
WSDL that u created is used to generate the stubs and skeletons and get the
deploy.wsdd file. Once you deploy the
Yea its shud
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 4:58 PM
Subject: Re: what classes can use
client
ok, thank you.Another related question:must
MyClass implement Serializable-Inter
Roman,
There is no problem in passing a complex
object to the WS. These objects should be taken care in the WSDL that u r
generating.
For eg : if u have WS like public String
MyWS(Myclass Myc)
You will have some thing like this in the
WSDL
..
activation.jar takes care of ur
DataHandler class. It comes with javax.activation.Datahandler
package.
mail.jar may be needed for Attachment
Parts
Regards
Dhanush
- Original Message -
From:
Thomas
Zöchling
To: [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 4:11 PM
David
I am Java guy. So dont know how to handle
in C#
But do refer this
http://www.mail-archive.com/[EMAIL PROTECTED]/msg20064/AttachmentHandling_in_Axis_v0.1.doc
In that set the property to DIME instaed
of MIME .. at the client side
Cheers
Dhanush
- Original Message
David ..
If u go back in this mailing list or mai
archive , Anne has provided some excellent explanations .. please go thru it
Dhanush
- Original Message -
From:
David Song
To: [EMAIL PROTECTED]
Sent: Saturday, June 19, 2004 5:28
AM
Subject: Good resources on di
Vikas,
I doubt that your excpetion class should
extend AxisFault. But I am not sure about it , just have a hunch .
Cheers
Dhanush
- Original Message -
From:
Vikas Phonsa
To: '[EMAIL PROTECTED]'
Sent: Friday, June 18, 2004 1:35 AM
Subject: FW: exceptiong handling
ï
System.setProperty("https.proxyHost",PROXYHOST); System.setProperty("https.proxyPort",PROXYPORT);
Use this to set the proxy at the client
end
Cheers Dhanush
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 6:44
P
Can u please explain on that Dims ?
U mean can be generate the WSDL in the
form required by Shaun instead of "in0","in1"
Dhanush
- Original Message -
From:
Davanum
Srinivas
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Cc: Dhanush Gopina
Title: How to use Document - Oriented SOAP
Arun Pls refer this user guide of
axis
http://ws.apache.org/axis/java/user-guide.html
The document or wrapped style is indicated in WSDD as follows:
for
document style for wrapped style
I think this will help you.
Cheers
Dhanush
- Original Me
Shaun
I think u can manually editall the "in0"
to "username" in the WSDL and then again generate the Stubs and Skeletons using
WSDL2Java tool.
I dont hink this will cause any problem
as along as the type is xsd:string.
Cheers
Dhanush
- Original Message -
From:
Shaun
-
From:
Dhanush
Gopinath
To: [EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 11:50
PM
Subject: Re: How to get the SOAP
Envelope from msg Context without invocation
Jose,
You wont be able to get a SOAPEnvelope at the
client end after the call or
Jose,
You wont be able to get a SOAPEnvelope at the client
end after the call or before the call .. because before the call there is no
SOAPMessage and after the Call the response is over.
and Call.getMessgaeContext() will return a null value.
So you cant access that Message Context.
H
and
SOAPBody.
Dhanush Gopinath wrote:> Hi There>
> At the client side u can instatiate a Stub Object from the
> org.apache.axis.client and use> a method setHeader() to set
the Header of an out going SOAP Message, > I mean request
Message.> > At
Hi There
At the client side u can instatiate a Stub
Object from the org.apache.axis.client and use
a method setHeader() to set the Header of an out going
SOAP Message, I mean request Message.
At the server side do this :
MessageContext msgContext = MessageContext.getCurrentCont
John,
Normally when u deploy using the WSDD generated it
should deploy the webservices, but in some cases it doesnt happen ( I dunno for
what cases ) ..
So check ur server-config.wsdd file under AXIS and see
if it contains the details of your deployed services.
If not then copy the conte
sort
of a design document, which explains how an existing client and web service can
be modified to handle attachments in MIME encoded form.
Hope the attached file will help some one.
Please review and sent comments.
Thanks & Regards
Dh
f there was a problem with DataHandler being
defined, shouldn't that show up when I deploy the service?Dhanush
Gopinath wrote:> Eric ,> > I still dont know your
interface definition. But still I will comment on > this as i have did
a bit of R&D on this.> &
this. If there was a problem with DataHandler being
defined, shouldn't that show up when I deploy the service?Dhanush
Gopinath wrote:> Eric ,> > I still dont know your
interface definition. But still I will comment on > this as i have did
a bit of R&D on this.>
Hi
When i try to write the Request Message to a file using
writeTo(java.io.OutputStream os) method of org.apache.axi.Message .. it
throws the following Exception , but the file is being created. What could
be the reason ?
javax.xml.soap.SOAPException: java.io.IOException:
Resource has
Now let me all ask you another stuff.
Any way to transfer data to DataHandler from Client
side. The problem is I am sending attachemnts along with the SOAP message. I
need to set the file names. I can do this from my client side by setting the
contents in the SOAPHeader ...
But just out o
Eric ,
I still dont know your interface definition. But still
I will comment on this as i have did a bit of R&D on this.
Lets assume u have a function in ur Webservice
public string store
(javax.activation.DataHandler dh) {}
Now once u create WSDL file using java2wsdl tool. It
Hi ..
Can Any one help me in registering a Handler at Client
side
I need a Step By step example ..
Thanks
Dhanush
- Original Message -
From:
Dhanush
Gopinath
To: [EMAIL PROTECTED]
Sent: Friday, May 21, 2004 12:24 PM
Subject: Client Side Handlers - How to
use
Hi All ,
Where can I get a concrete idea of handlers at Client
side. I have deployed a Client side Handler. When i invoke the Webservice
nothing happens. Searching the net I got that the Transport should be set using
the method
Call.setTransport(new MyTransport());
Now my problem is I
Hi all ,
Dealing attachments..
When I executed AttachmentPart.getContent() i got an
object of class ManagedMemoryDataSource.Instream.
Does this class exist in Axis 1.1? Because when i
searched in Net I got
this page of Dims
http://ws.apache.org/~dims/axisdiff/olddocs/org/apache/axis/a
Hi All
I have been posting this question a few
times. I dont know if I am asking something foolish. One Last try ..
Please somebody reply .
Can we send attachments in this
form(GIVEN BELOW AFTER THE LINE) in Axis ? Does Axis supports this kind of
attachment sending other than sending it
Hi,
Can we pass a MimeBodyPart Object as parameter to a Web
Service?
I tried declaring an Interface and i got this exception
.
Some Remote Exception ; nested exception is:
java.io.IOException: No serializer found for class
javax.mail.internet.MimeBodyPart in registry [EMAIL PROTECTED
Hi ,
I implemented my own Webservice which has following
interface.
public interface TestServiceIF
extends java.rmi.Remote {
public java.lang.String putMessage(String in0,
javax.activation.DataHandler in1) throws
java.rmi.RemoteException
}
I
can succesfully send the attachment and get a
Hi,
I am getting the following exception while running the
WSDL2Java tool. I have modified my WSDL file to MIME encode the
attachment.
java.lang.NullPointerException at
org.apache.axis.wsdl.symbolTable.SymbolTable.addMIMETypes(SymbolTable.java:2084) at
org.apache.axis.wsdl.symbolTable.S
Hi All,
I am trying to send SOAP Message with
attachment using Apache Axis Engine.
This is my reference : http://www-106.ibm.com/developerworks/webservices/library/ws-soapatt/?open&l=930,t=grws
I declared my interface, created the wsdl file by
Java2WSDL. Now my Webservice method takes
Hi All,
I tried deploying the EchoAttachementsService and
managed to call the WebService from the Client.
But i am getting a exception
java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.axis.Message.createAttachmentPart(Message.java:620)
at javax.xml.soap.SOAPMessage
Try this
System.setProperty("javax.net.ssl.keyStore",Property.SSL_KEYSTORE); System.setProperty("javax.net.ssl.trustStore",Property.SSL_TRUSTSTORE); System.setProperty("javax.net.ssl.keyStorePassword",Property.SSL_KEYSTORE_PWD); System.setProperty("javax.net.ssl.trustStorePassword",Prope
It wont be there in the jars
in lib. Lib contains only the jars thats needed for Axis APIs.
I dunno whats your problem.
May be any installation problem.
Dhanush
- Original Message -
From:
Tony Blair
To: [EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 7:26
PM
I think the problem is in
your java command. It points to the Axis Servlet here. Actually it should point
to your webservice deployed.
it should be something like
this
# java -cp
${CLASSPATH} org.apache.axis.wsdl.Java2WSDL
-oSOAPServiceDirectoryService.wsdl-l
http://localhost:8080/ax
Hi Tony,
The SoapMonitorApplet will be
there in this folder.
axis-home\webapps\axis
To use that u must comment
out the tag in web.xml file and compile the Applet java file using normal
javac.
Cheerio
Dhanush
- Original Message -
From:
Tony Blair
To: [EMAIL PROT
Hi ...
Not an expert though just
telling you some fundas.
the invoke() method expects
normal objects like int , String etc. ..
Document may not be
able to send as a parameter ( Dunno .. I say MAY NOT BE)
So just try the typeMapping
and beanMapping options available in the package.
Hi Shanta ,
I think after uncommenting
in web.xml file, you will have to compile the SOAPMonitorApplet.java file.
Cheers
Dhanush
- Original Message -
From:
bethana
kumar
To: [EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 10:48
PM
Subject: SOAP Monito
Hi ,
When You Install Axis there are two default Web
Services called AdminService and Version. That has methods AdminService() and
getVersion() respectively.
But I dont understand what you mean by "a defualt
method that you can in a Webservice that is not called by Client "
Could you p
Hi Krishna ,
I dont think your code deployment is
correct.
To pass an Object as an argument I think u must
specify it in the deployment descriptor . It should have a
tag which gives all the details of the Object to be passed as argument. You can
refer Axis User Guide for this.
String e
Hi All ,
The below mentioned problem is fixed.
It was the conflicting of the Java
Versions
I was using 1.3.1 while the Solaris original
version was 1.2.2. My mistake.
Cheers
Thanks
Dhanush
- Original Message -
From:
Dhanush
Gopinath
To: [EMAIL PROTECTED]
Sent
the changes as small as possible to let your client run, and scope
them as narrowly as possible to prevent other less well-intentioned programs
from benefitting.
Jeff
- Original Message -
From:
Dhanush
Gopinath
To: [EMAIL PROTECTED]
Sent: Thursday,
Hi All
When I am running my client code I am getting an
Exception called
java.lang.Security Exception : Prohibited
package name java.lang.reflect
Any Idea When this is thrown ?
Thanks
Dhanush
**
Scanned by eScan Con
Hi All,
I have a webService Method already deployed and
running on the Axis.
When I run my client code on the Solaris an
Excpetion like this comes
ExcpetionProhibited package name:
java.lang.reflect
Any Idea what this is. I am able to compile my
Client code with no problems. The Excepti
Message-From: Dhanush Gopinath
[mailto:[EMAIL PROTECTED]Sent: Tuesday, December 16, 2003
4:44 PMTo: [EMAIL PROTECTED]Subject: Help Needed
in Installing
Hi All,
I have a Solaris Server v8 running. I want to
Install Axis on that. I have untarred an axis binary and
Colin,
I too had the same problem. But all was well when I went thru the Man pages
of TAR
Just add an option "i" to it , Then it ignores the checksum error..
Now Try it out ...
Cheers
Dhanush
- Original Message -
From: "Smart Colin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu
Hi,
I think this is bcoz u r passing an Object as
the argument for the web service method.
in that case u will have to set the beanMapping in
the deployment descriptor file.. and have that registerTypeMapping() function
called.
See eg under
samples\userguide\example5
Cheers
Dhanush
Hi All,
I have a Solaris Server v8 running. I want to
Install Axis on that. I have untarred an axis binary and installed it. But some
how the classpaths are not getting set and I am not able to start
Axis.
Please Help me out.
Thanks & Regards
Dhanush
*
is the URL correct
its services ... try that :)
Dhanush
- Original Message -
From: "Daniel Humberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 3:06 PM
Subject: Edit server-config.wsdd ?
> I tried to edit my axis' server-config.wsdd.
> My plan was to inser
----Original Message-
> > From: Dhanush Gopinath [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, December 11, 2003 5:31 PM
>
> > My Problem is after executing this the details abt the
> > WebService are not
> > updated in the server-config.wsdd file.
>
> the admi
Group,
Can any one tell What happens after executing this command ?
> java org.apache.axis.client.AdminClient deploy.wsdd
My Problem is after executing this the details abt the WebService are not
updated in the server-config.wsdd file.
How do i deploy this? I am not able to access the WSDL of t
PATH=C:\j2sdk1.4.1_06\bin;%PATH%
set
CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\axis.jarset
CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\axis-ant.jarset
CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\commons-discovery.jarset
CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\commons-logging.jarset
CLAS
It can be ... I dunno
Just add the JAVA_HOME to ur PATH and
ur working directory to the CLASSPATH and try again
- Original Message -
From:
Yves
To: [EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 7:02
PM
Subject: Re: Apache Axis Tutorial
Hmmm... same
able to implement. I thought
my info will help u
Regards
Dhanush Gopinath
- Original Message -
From: "Sunil Iyengar" <[EMAIL PROTECTED]>
To: "axis-user" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 5:44 PM
Subject: type mapping problems at the
Hi,
Once u jhave wriitten ur Webservice and Deployed
that .. u will have to run this command ... u create the 4 Class
Files.
java
org.apache.axis.wsdl.WSDL2JAVA http://localhost:8080/axis/. .jws?WSDL -p
localhost.dir1.dir2
jws indicate ur Webservice
File
Then Four files wi
Hi All,
I have written a client class which calls a
webservice deployed.
But when i run I get the following error( The one
in red).
C:\AxisDemos\mysample\axis>java
mysample.axis.Client1 Dhanush
Error processing WSDL
document:org.xml.sax.SAXException: Fatal Error:
URI=http://localhost:
Hi All ,
I was reading the article "Axis:The next
generation of Apache SOAP" and trying to
implement the webservice given in it. I have an Axis1.1 Engine.
I was invoking the WebService with an Object
ServiceClient.But it gave me compilation errors. I looked through the API Docs
and foun
80 matches
Mail list logo