in both directions, before converting back to text), which is
going to really hurt performance.
- Dennis
Dennis M. Sosnoski
Enterprise Java, XML, and Web Services Support - http://www.sosnoski.com
JiBX Lead Developer - http://www.jibx.org Redmond, WA 425.885.7197
Naresh Bhatia wrote:
>C
Cory,
Theoretically, the answer to your question is yes. But practically when
I tried this in the past, Castor mapping approach could not handle the
complexities of my data structures. So I use an XML Pull parser to
serialize / deserialize my business objects. You can look at my detailed
implement
Hi Hengel,
If all you are trying to do is to return an XML document in the SOAP
body, use a document-style Web service, specifically Axis's "message
service-style". This is documented in the Axis user's guide. You can see
an example of such usage in the Simple Messaging Framework at
smfw.sourcefor
ach. Please let
me know if this is a real problem that you are facing too. My framework
code is open source - it is available at http://smfw.sourceforge.net. I
also have two examples that you can run to try out the framework.
Naresh Bhatia
Title: Message
Sorry, cockpit error :-). When moving to WebLogic 6.1, I had forgotten to
copy a configuration file. This was causing an ExceptionInInitializerError when
creating the UserService class. Everything is working fine now!
Naresh
-Original Message-From: Naresh Bhatia
Title: Problem with packaging Axis app - ClassNotFoundException
I have an ear file that works perfectly well with WebLogic 7.0 but gives me a ClassNotFoundException in WebLogic 6.1. Hoping that someone might know what is going on.
The ear file is structured as follows:
MyApp.ear
Hi Anne,
You touch on some interesting points. I agree that one can implement
authentication or authorization purely using transport level security
mechanisms and JAAS. However what is the best approach today to
implement single-sign on. In my application, the end user sends SOAP
messages to my we
Message-From: Naresh Bhatia
[mailto:[EMAIL PROTECTED]Sent: Saturday, March 15, 2003 2:03
AMTo: [EMAIL PROTECTED]Subject: Packaging WSDL in
an ear file
Hi,
My J2EE application is both an Axis client and an
Axis Server. Since Axis.jar is quite large (~ 1MB), I would like
Title: Packaging WSDL in an ear file
Hi,
My J2EE application is both an Axis client and an Axis Server. Since Axis.jar is quite large (~ 1MB), I would like to package it only once in my ear file. So, instead of putting it in my web-app, I am packaging it at the top level of my ear file wher
Title: Message
And if
you are trying to access only the raw SOAP body, you can do it with the
"message" style supported by Axis. The user's manual has more details, but
essentially your service would have to expose a method with one of 4 signatures
as described in the manual. Here is some sa
Title: Loading configuration in an Axis webapp
I want to load a configuration file in my webapp that is running the AxisServlet. I tried doing this in a static block within the Axis service class. But that makes Axis very upset. I get the following exception:
<101017>
Root cause of Servl
e
experiencing the same issues and like this approach, please chime in.
Thanks.
Naresh
-----Original Message-
From: Naresh Bhatia
Sent: Monday, February 24, 2003 6:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing the XML in the SOAP message body directly
Hi Mike,
You wrote that:
> You&
tion)
even if you explicitly set the operation style to Document. Is this a
design decision of AXIS (eg, an unexpected behavior forced by JAX-RPC
compliance) or is this just a bug (that it ignores operation style and
only decides between messaging vs RPC based on existence of
SOAPBodyElement args)?
the attachment.
thanks,
Aria
-Original Message-----From: Naresh Bhatia
Sent: Friday, February 21, 2003 7:44 PMTo:
[EMAIL PROTECTED]Subject: Accessing the XML in the SOAP
message body directly
I am using the Axis "Message" style service to
populate the SOA
Title: Accessing the XML in the SOAP message body directly
I am using the Axis "Message" style service to populate the SOAP body myself. My payload originates in an XML file, which I read into a SOAPBodyElement. When I invoke the call, Axis obviously reconverts the SOAPBodyElement into XML an
Title: Best practices for Lists and Maps
Hi,
I am trying to find the best practices around serializing / deserializing Lists and Maps. So far I have come up with the following approaches. Please feel free to give me your comments as well as list other approaches that you may have found usef
Title: Message
I am
hoping that some of the developers could chime in on this one. I am unable
to move forward without answering these questions.
Thanks.
Naresh
-Original Message-From: Naresh Bhatia
Sent: Monday, February 10, 2003 3:57 PMTo:
[EMAIL PROTECTED]Subject
Title: Clarification on Service Styles - RPC, Document, Wrapped and Message
Hi,
I have some questions about the 4 service styles supported by Axis, i.e. RPC, Document, Wrapped and Message. I hope someone can answer these for me.
1) WSDL 1.1 talks about two SOAP binding styles: "rpc" and "d
Title: WSDLException when generating DOCUMENT style WSDL
I am getting a WSDLException when generating a DOCUMENT style WSDL using java2wsdl.
Here's my Java interface:
public interface UserProvider extends java.rmi.Remote {
public String getUser(String userId)
throws RemoteEx
/wsif
...ant
Anthony Elder
[EMAIL PROTECTED]
Web Services Development
IBM UK Laboratories, Hursley Park
(+44) 01962 818320, x248320, MP208.
"Naresh Bhatia" <[EMAIL PROTECTED]> on 02/02/2003 14:57:01
Please respond to [EMAIL PROTECTED]
To:<[EMAIL PROTECTED]>
cc:
S
Title: Does Axis 1.1 Beta support custom faults?
Java2Wsdl and Wsdl2Java seem to support custom faults. But when I throw such a fault on the server-side, I get an AxisFault on the client.
Naresh
Title: Accessing a service via SOAP as well as Java
I have exposed a service via SOAP. However, I also need to access this service internally from my application. Do you think it is okay to access the service directly by calling its SOAP implementation (bypassing the Axis servlet completely)?
any number of different .wars or .jars or
.earson 27/1/03 7:10 PM, Naresh Bhatia at [EMAIL PROTECTED]
wrote:
I would like to deploy two web
services in the same web container. What is the recommended approach for
doing this? I was thinking of two possibilities: 1) One Web App with tw
hy do you need Java2Wsdl?on 26/1/03 11:42 AM, Naresh Bhatia at
[EMAIL PROTECTED] wrote:
Does Java2Wsdl support WSDL
generation from EJBs? I tried it but I am getting the following
exception: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'h
possible?
2) Two separate Web Apps? This would mean running two Axis servlets on two different ports.
Thanks.
Naresh Bhatia
Title: Does Java2Wsdl support EJBs?
Does Java2Wsdl support WSDL generation from EJBs? I tried it but I am getting the following exception:
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://ejb.javax'.
Namespace prefixes must be set on the Definition object usi
ic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
Naresh Bhatia
Sapient
One Memorial Drive, Cambridge, MA 02142
Tel: 617-761-1771 Fax: 617-621-1300
Email: [EMAIL PROTECTED]
aderElement)myHeaders.get(i));
...
}
Please let me know what is the recommended way to add a SOAP header in client code.
Naresh Bhatia
aderElement)myHeaders.get(i));
...
}
Please let me know what is the recommended way to add a SOAP header in client code.
Naresh Bhatia
as the mailing does not like too much such
attachments).
Thomas
-Original Message-From: Naresh Bhatia
[mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002
4:02 PMTo: '[EMAIL PROTECTED]'Subject: RE:
Connecting to Axis server from a
.
(BTW, I am using Weblogic 6.1. Tried to set up log4j on it once but could not get it to work. If anyone has pointers on this, that would be very helpful).
Thanks.
Naresh Bhatia
Certification Authorities tab. The installed certificate
is called localhost (check the genkey target in the
build.xml
file to understand why localhost).
Thomas
-Original Message-From: Naresh Bhatia
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002
.
Naresh Bhatia
ith .NET?
Thanks.
Naresh
-Original Message-From: Naresh Bhatia
[mailto:[EMAIL PROTECTED]]Sent: Friday, July 12, 2002 6:33
PMTo: '[EMAIL PROTECTED]'Subject: RE: .NET does
not take WSDL generated by Axis
Thanks Dan.
So I
ran my wsdl using VisutalStudio'
NET\FrameworkSDK\Bin)
outside of VisualStudio and then add the created resources to your
project if this is successful.
type
the command only for a list of options.
Dan
-Original
Message-From: Naresh Bhatia
[mailto:[EMAIL PROTECTED]]Sent: Friday,
ce ws = new MySvc.MyService();
ws.sendToken(token);
int receivedToken = ws.getToken();
Thanks.
Naresh Bhatia
for the problem?
Thanks.
Naresh Bhatia
l
contains a String like this "2002-07-02". can you please
send me your mapping entry in your deployment file? I think this is the
only position where I coult have made something
wrong.
Thanks
Christian
-Original Message-From: Naresh Bhatia
[mailto:[
Title: RE: How to use DateSerializer?
I am currently using the nightly build of Axis. It appears that Date is now correctly mapped to xsd:dateTime. And that is what JAX-RPC specification asks for. I have found that the conversion to/from Date works fine for this build.
-Original Message--
chael
Naresh Bhatia
ent.com>
the members. How can I do this?
Thanks.
Naresh Bhatia
ror
I have created the Message object using WSDL2Java and it contains the equals() and hashcode() methods.
Please help!
Naresh Bhatia
necessary for my beans to override these methods? If yes, can I simplify the two methods by using the unique key within my objects instead of considering every field?
Naresh Bhatia
so
On Thu, 2002-06-27 at 18:22, Naresh Bhatia wrote:
> - But isn't Java2WSDL supposed to generate the implementation class?
>
> - Can't Java2WSDL pick the parameter names from the class-of-portType if it
> is compiled with -g?
>
> Thanks.
> Naresh
>
> ---
Title: RE: Parameters Name
- But isn't Java2WSDL supposed to generate the implementation class?
- Can't Java2WSDL pick the parameter names from the class-of-portType if it is compiled with -g?
Thanks.
Naresh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Se
Title: Java2WSDL - parameter names
Is there a way for Java2WSDL to generate method parameter names as specified in the Java classes instead of in0, in1 etc?
Thanks.
Naresh Bhatia
the data classes in order to keep them generic and not tied to SOAP?
If there is a more elegant approach to solving this problem, I would like to hear about it.
Thanks.
Naresh Bhatia
PERTY, password);
where "Stub" is javax.xml.rpc.Stub. (You can see why we added the AXIS
API's. setUserName(userName) is a whole lot easier to read.)
Russell Butek
[EMAIL PROTECTED]
Naresh Bhatia <[EMAIL PROTECTED]> on 05/10/2002 02:46:40 PM
Please respond to [EMAIL PROTECTED]
To:
name" );
yourStub._setProperty( javax.xml.rpc.Call.PASSWORD_PROPERTY, "password" );
Good luck!
alan
-Original Message-
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 10:36 AM
To: '[EMAIL PROTECTED]'
Subject: How to control the Cal
Title: How to control the Call object in code generated by WSDL2Java?
I have used WSDL2Java to generate my Web Service. I need to set the username and password properties on the Call object before I send out the SOAP message. How can I do that? Currently the client code that invokes the call l
house" user to the tomcat-users.xml file as described in the
installation instructions that come with the examples.
Dan
- Original Message -
From: Naresh Bhatia
To: '[EMAIL PROTECTED]'
Sent: Thursday, May 09, 2002 9:31 AM
Subject: Authentication and digital signatures
Title: RE: Lists (was RE: How to use a return type java.util.List)
I have a process question related to this issue. To create my web service, I usually run Java2WSDL on my interface followed by WSDL2Java. I assume that I have to tweak the files Generated by Java2WSDL in order to make this work
tstore.donut.WebServiceTest.main(WebServiceTest.java:17)
Please help.
Naresh Bhatia
53 matches
Mail list logo