RE: Generated code not Thread safe
Well you can used synchronized block to make sure that access to the map is thread safe. I would not blame HashMap for it, this would be considered as bug. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com -Original Message- From: Alsarraf, Laheeb (NIH/OD) [C] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 9:24 AM To: axis-user@ws.apache.org Subject: RE: Generated code not Thread safe You are right. It is the same issue as the one discussed in the link below. It is the get/put method in HashMap.java. However I found that the problem is not limited to org.apache.axis.utils.JavaUtils.isEnumClass. When I cached the Locator the code locked in another place: org.apache.axis.encoding.TypeMappingImpl.internalRegister The reason is the same HashMap. So it looks like the usage of HashMap in axis should be reviewed. Thread Dump: "Thread-0" prio=5 tid=0x00a58ba0 nid=0xbac runnable [2cff000..2cffd8c] at java.util.HashMap.put(HashMap.java:382) at org.apache.axis.encoding.TypeMappingImpl.internalRegister(TypeMapping Impl.java:263) at org.apache.axis.encoding.TypeMappingImpl.register(TypeMappingImpl.jav a:221) at org.apache.axis.encoding.TypeMappingDelegate.register(TypeMappingDele gate.java:73) at org.apache.axis.client.Call.registerTypeMapping(Call.java:2285) at org.apache.axis.client.Call.registerTypeMapping(Call.java:2322) at gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceSoapStub.createCall(EUt ilsServiceSoapStub.java:10286) - locked <0x10585758> (a gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceS oapStub) at gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceSoapStub.run_eSummary(E UtilsServiceSoapStub.java:10513) at gov.nih.nihms.www.soap.nihmssrv1_cgi.NIHMSClient.run(NIHMSClient.java :79) Laheeb Alsarraf Contractor, AC Technologies E-mail: [EMAIL PROTECTED] Office: 301.451.1783 -Original Message- From: Ferguson, Neil, VF-NZ [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 5:09 PM To: axis-user@ws.apache.org Subject: RE: Generated code not Thread safe Hi Laheeb. Good find. This looks like this issue: https://issues.apache.org/jira/browse/AXIS-2284. Seems like it's been fixed, but after the 1.3 release, and there doesn't seem to be a fix version specified. Neil. -Original Message- From: Alsarraf, Laheeb (NIH/OD) [C] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 February 2006 8:36 a.m. To: axis-user@ws.apache.org Subject: RE: Generated code not Thread safe I tested that the web service is Not causing the lock. I opened multiple JVMs and ran the same code as simultaneously as I could press the enter button. Below is the thread dump on Windows. The lock happens in org.apache.axis.utils.JavaUtils.java method isEnumClass(): Attribute enumMap is not Thread safe. Maybe Axis should replace HashMap with Hashtable: private static HashMap enumMap = new HashMap(); public static boolean isEnumClass(Class cls) { Boolean b = (Boolean)enumMap.get(cls); if(b == null) { b = isEnumClassSub(cls) ? Boolean.TRUE : Boolean.FALSE; enumMap.put(cls, b); } return b.booleanValue(); } === Full thread dump Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode): === "Thread-5" prio=5 tid=0x00a620f8 nid=0xb5c runnable [304f000..304fd8c] at java.util.HashMap.get(HashMap.java:325) at org.apache.axis.utils.JavaUtils.isEnumClass(JavaUtils.java:1060) at org.apache.axis.encoding.ser.BeanSerializerFactory.init(BeanSerialize rFactory.java:49) at org.apache.axis.encoding.ser.BeanSerializerFactory.(BeanSeriali zerFactory.java:42) at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(Base SerializerFactory.java:235) at org.apache.axis.client.Call.registerTypeMapping(Call.java:2315) at gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceSoapStub.createCall(EUt ilsServiceSoapStub.java:10286) - locked <0x10589da0> (a gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceS oapStub) at gov.nih.nlm.ncbi.www.soap.eutils.EUtilsServiceSoapStub.run_eSummary(E UtilsServiceSoapStub.java:10513) at gov.nih.nihms.www.soap.nihmssrv1_cgi.NIHMSClient.run(NIHMSClient.java :77) "Thread-4" prio=5 tid=0x00a61f78 nid=0x848 runnable [300f000..300fd8c] at java.util.HashMap.get(HashMap.java:325) at org.apache.axis.utils.JavaUtils.isEnumClass(JavaUtils.java:1060) at org.apache.axis.encoding.ser.BeanSerializerFactory.init(BeanSerialize rFactory.java:49) at org.apache.axis.encoding.ser.BeanSerializerFactory.(BeanSeriali zerFactory.java:42) at org.apache.axis.encoding.ser.BaseSerializerF
RE: Eliminating element with xsi:nil
This is not possible!! you will have to use my patch if you want it to work? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Kasi, Anand [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 12:06 PMTo: axis-user@ws.apache.orgSubject: RE: Eliminating element with xsi:nil Thanks Anne. I like the idea of adding a handler to the outgoing message. However, I thought Axis did not let you remove elements from the soap body. Do you have any code examples as to how I can remove an xml element that has xsi:nil = true from the soap body from the handler? Thanks, Anand From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 10:21 AMTo: axis-user@ws.apache.orgSubject: Re: Eliminating element with xsi:nil If you have defined the field as nillable="true" and you have not specified minOccurs="0", then the message would not be valid if you left out the element. There's no way to tell Axis to do something invalid.I suggest that you add a handler to the outgoing message and transform it to remove the nil elements.Anne On 1/19/06, Kasi, Anand <[EMAIL PROTECTED]> wrote: Thanks for the tip. However, I do not have the option of changing the wsdl to include nillable="false" and minOccurs="0". This is because our customers already are using client proxy which generated from the wsdl. I was wondering if there was a way to include new fields in the response, without impacting those customers who do not need the new functionality. Those who need the new functionality will regenerate from the new wsdl with new fields in it. Currently it does not work because it sees the new field come across in the response as <errorLevel xsi:nil="true"/> and obviously does not know what errorLevel is. Is there any way of configuring Axis on the server side, to eliminate the xml elements from the soap response when xsi:nil is set to true? Regards,Anand From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 18, 2006 6:27 PMTo: axis-user@ws.apache.orgSubject: Re: Eliminating element with xsi:nil Define the element as nillable="false" and specify minOccurs="0".Anne On 1/18/06, Kasi, Anand <[EMAIL PROTECTED]> wrote: Hi All, I am using Axis 1.3. Is there any way of eliminating the xml element from the soap message when the element 's xsi:nil is set to "true" . Instead of Generic Error < /advCondTextCode> 10 0 I want to see Generic Error < /advCondTextCode> 10 0 Thanks,Anand CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Eliminating element with xsi:nil
Hi Anand, I have a fix for it, but it not committed. The Axis-2351, has a patch for what you need. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Kasi, Anand [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 9:19 AMTo: axis-user@ws.apache.orgSubject: RE: Eliminating element with xsi:nil Thanks for the tip. However, I do not have the option of changing the wsdl to include nillable=”false” and minOccurs=”0”. This is because our customers already are using client proxy which generated from the wsdl. I was wondering if there was a way to include new fields in the response, without impacting those customers who do not need the new functionality. Those who need the new functionality will regenerate from the new wsdl with new fields in it. Currently it does not work because it sees the new field come across in the response as <errorLevel xsi:nil="true"/> and obviously does not know what errorLevel is. Is there any way of configuring Axis on the server side, to eliminate the xml elements from the soap response when xsi:nil is set to true? Regards,Anand From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 6:27 PMTo: axis-user@ws.apache.orgSubject: Re: Eliminating element with xsi:nil Define the element as nillable="false" and specify minOccurs="0".Anne On 1/18/06, Kasi, Anand <[EMAIL PROTECTED]> wrote: Hi All, I am using Axis 1.3. Is there any way of eliminating the xml element from the soap message when the element 's xsi:nil is set to "true" . Instead of Generic Error < /advCondTextCode> 10 0 I want to see Generic Error < /advCondTextCode> 10 0 Thanks,Anand CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Tibco vs Axis [round 1 ...]
Hi Dims, I will post my fix, Do you think you can package my fix into axis-1.3 build. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 3:22 PM To: axis-user@ws.apache.org Subject: Re: Tibco vs Axis [round 1 ...] Yep. But Post the Fix in JIRA instead :) -- dims On 12/16/05, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > If it's a known bug and you have the fix, don't bother to post the WSDL. > > On 12/16/05, David Durham <[EMAIL PROTECTED] > wrote: > > Anne Thomas Manes wrote: > > > Any time interoperability is in question, you must provide the WSDL. > > > > Ah, here's what I received from Pratik Parikh: > > > > Hi David, > > > >This is a bug in axis, if you want I can send you a fix for it. > > > > Thanks, > > Parikh, Pratik > > > > > > Should I post the WSDL, or is that unecessary at this point? Wonder > > what the bug was. > > > > > > -Dave > > > > -- Davanum Srinivas : http://wso2.com/blogs/ CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Didn't find specified return QName
what axis version are you using??? are you using Axis2 Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Bhushan Bhangale [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:58 AMTo: axis-user@ws.apache.orgSubject: RE: Didn't find specified return QName Its really cool The request is like this http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> x"> LMC-UK-000 KEH6875116 LMC-UK-000 66 2006-02-10T14:49:59.690Z 2006-02-10T14:49:59.690Z 2 true 95 2006-02-10T14:49:59.690Z 2006-02-10T14:49:59.690Z 2 true None The response is - http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> "> InvalidDates Leave the error apart as that can be fixed, but why Didn't find specified return QName {http:///xWS}CheckAvailabilityResult! Seems it looks for CheckAvailabilityResult rather than CheckAvailabilityResponse. Thanks Bhushan From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 14:41To: axis-user@ws.apache.orgSubject: RE: Didn't find specified return QName Hi Bhushan, I am running into the same issue, the bug is in BeanDeSerializer. Is this happening once the message it created. Can you look at the message on tcpTrace, if you don't have tcpTrace i recommend getting it from pocketsoap and try to use that as redirect that should give you a good understanding of what is going on. I need some expert help on this before i put the hack on it. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Bhushan Bhangale [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:34 AMTo: axis-user@ws.apache.orgSubject: RE: Didn't find specified return QName Ohh that would be bad if its a bug I can't change that as the service is written by some third party and hosted at their end. I am just writing a client to access it. Thanks Bhushan From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 14:29To: axis-user@ws.apache.orgSubject: RE: Didn't find specified return QName Hi Bhushan, I think this is a bug, i am trying to find the root cause for it. But you make your variable name start with not capital alphabets then you will be fine. Try this it should work for you... Hey please let me know if this work i just want to know if what i think is right or not? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Bhushan Bhangale [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:22 AMTo: axis-user@ws.apache.orgSubject: Didn't find specified return QName Hi, I am getting following error - Didn't find specified return QName {http:///xWS}CheckAvailabilityResult! at org.apache.axis.client.Call.invoke(Call.java:2490) at org.apache.axis.client.Call.invoke(Call.java:2278) at org.apache.axis.client.Call.invoke(Call.java:1772) at com.ctntours.ws.ctnWS.CtnWebServiceSoapStub.checkAvailability(Unknown Source) at com.lastminute.connectivity.messaging.hotels.CTNMessagesTest.processCheckAvailability(CTNMessagesTest.java:112) at com.lastminute.connectivity.messaging.hotels.CTNMessagesTest.testCTNMessage(CTNMessagesTest.java:242) I have written code like this - ArrayOfCtnHotel result = locator.getctnWebServiceSoap().checkAvailability(MASTER_AGENT_ID, MASTER_AGENT_PASSWORD, SUB_AGENT_ID, getRoomQuotes(), errorCodeHolder); I converted wsdl to Java and got the above API which I used. WSDL looks like this - http:///xWS/CheckAvailability" style="document" /> Whats wrong I am doing? Any direction would be much appreciated. I know that the service is written in C# and using java as client but that shouldn't be any problem. Thanks Bhushan Bhangale Tech Team Lead Connectivityaddress: 39 Victoria Street, London, SW1H 0EE tel: +44 (0)207 866 4305 mob:
RE: Didn't find specified return QName
Hi Bhushan, I am running into the same issue, the bug is in BeanDeSerializer. Is this happening once the message it created. Can you look at the message on tcpTrace, if you don't have tcpTrace i recommend getting it from pocketsoap and try to use that as redirect that should give you a good understanding of what is going on. I need some expert help on this before i put the hack on it. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Bhushan Bhangale [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:34 AMTo: axis-user@ws.apache.orgSubject: RE: Didn't find specified return QName Ohh that would be bad if its a bug I can't change that as the service is written by some third party and hosted at their end. I am just writing a client to access it. Thanks Bhushan From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: 16 December 2005 14:29To: axis-user@ws.apache.orgSubject: RE: Didn't find specified return QName Hi Bhushan, I think this is a bug, i am trying to find the root cause for it. But you make your variable name start with not capital alphabets then you will be fine. Try this it should work for you... Hey please let me know if this work i just want to know if what i think is right or not? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Bhushan Bhangale [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:22 AMTo: axis-user@ws.apache.orgSubject: Didn't find specified return QName Hi, I am getting following error - Didn't find specified return QName {http:///xWS}CheckAvailabilityResult! at org.apache.axis.client.Call.invoke(Call.java:2490) at org.apache.axis.client.Call.invoke(Call.java:2278) at org.apache.axis.client.Call.invoke(Call.java:1772) at com.ctntours.ws.ctnWS.CtnWebServiceSoapStub.checkAvailability(Unknown Source) at com.lastminute.connectivity.messaging.hotels.CTNMessagesTest.processCheckAvailability(CTNMessagesTest.java:112) at com.lastminute.connectivity.messaging.hotels.CTNMessagesTest.testCTNMessage(CTNMessagesTest.java:242) I have written code like this - ArrayOfCtnHotel result = locator.getctnWebServiceSoap().checkAvailability(MASTER_AGENT_ID, MASTER_AGENT_PASSWORD, SUB_AGENT_ID, getRoomQuotes(), errorCodeHolder); I converted wsdl to Java and got the above API which I used. WSDL looks like this - http:///xWS/CheckAvailability" style="document" /> Whats wrong I am doing? Any direction would be much appreciated. I know that the service is written in C# and using java as client but that shouldn't be any problem. Thanks Bhushan Bhangale Tech Team Lead Connectivityaddress: 39 Victoria Street, London, SW1H 0EE tel: +44 (0)207 866 4305 mob: +44 (0)793 089 0610 fax: +44 (0)870 145 7802 email: [EMAIL PROTECTED] internet: http://www.lastminute.com Bhushan Bhangale Tech Team Lead Connectivityaddress: 39 Victoria Street, London, SW1H 0EE tel: +44 (0)207 866 4305 mob: +44 (0)793 089 0610 fax: +44 (0)870 145 7802 email: [EMAIL PROTECTED] internet: http://www.lastminute.com **This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager.This footnote also confirms that this email message has been swept byMIMEsweeper for the presence of computer viruses.www.mimesweeper.com** CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Didn't find specified return QName
Hi Bhushan, I think this is a bug, i am trying to find the root cause for it. But you make your variable name start with not capital alphabets then you will be fine. Try this it should work for you... Hey please let me know if this work i just want to know if what i think is right or not? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Bhushan Bhangale [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 8:22 AMTo: axis-user@ws.apache.orgSubject: Didn't find specified return QName Hi, I am getting following error - Didn't find specified return QName {http:///xWS}CheckAvailabilityResult! at org.apache.axis.client.Call.invoke(Call.java:2490) at org.apache.axis.client.Call.invoke(Call.java:2278) at org.apache.axis.client.Call.invoke(Call.java:1772) at com.ctntours.ws.ctnWS.CtnWebServiceSoapStub.checkAvailability(Unknown Source) at com.lastminute.connectivity.messaging.hotels.CTNMessagesTest.processCheckAvailability(CTNMessagesTest.java:112) at com.lastminute.connectivity.messaging.hotels.CTNMessagesTest.testCTNMessage(CTNMessagesTest.java:242) I have written code like this - ArrayOfCtnHotel result = locator.getctnWebServiceSoap().checkAvailability(MASTER_AGENT_ID, MASTER_AGENT_PASSWORD, SUB_AGENT_ID, getRoomQuotes(), errorCodeHolder); I converted wsdl to Java and got the above API which I used. WSDL looks like this - http:///xWS/CheckAvailability" style="document" /> Whats wrong I am doing? Any direction would be much appreciated. I know that the service is written in C# and using java as client but that shouldn't be any problem. Thanks Bhushan Bhangale Tech Team Lead Connectivityaddress: 39 Victoria Street, London, SW1H 0EE tel: +44 (0)207 866 4305 mob: +44 (0)793 089 0610 fax: +44 (0)870 145 7802 email: [EMAIL PROTECTED] internet: http://www.lastminute.com Bhushan Bhangale Tech Team Lead Connectivityaddress: 39 Victoria Street, London, SW1H 0EE tel: +44 (0)207 866 4305 mob: +44 (0)793 089 0610 fax: +44 (0)870 145 7802 email: [EMAIL PROTECTED] internet: http://www.lastminute.com **This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe system manager.This footnote also confirms that this email message has been swept byMIMEsweeper for the presence of computer viruses.www.mimesweeper.com** CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Bug in beandeserializer??
Hi Dims, I am using Axis 1.3. No this is during runtime that it happens. For some reason the deserializer does not like when you have element name starting with Capital letter. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 3:12 PM To: axis-user@ws.apache.org Subject: Re: Bug in beandeserializer?? Using Axis 1.3? Running WSDL2Java? then try "--wrapArrays true" parameter when running wsdl2java. thanks, dims On 12/15/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: > > Hi Everone, > > It seems like either noone know what is going on here or noone wants to offer help. I really think this is a bug, but don't know much about it to figure it out. Can anyone please help me with this??? > > Thanks, > Parikh, Pratik | Software Engineer | Cerner Corporation | > (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com > > > From: Parikh,Pratik [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 14, 2005 10:23 AM > To: axis-user@ws.apache.org > Subject: RE: Bug in beandeserializer?? > > > > Can someone please look at this??? I need to resolve it. > > Thanks, > Parikh, Pratik | Software Engineer | Cerner Corporation | > (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com > > > From: Parikh,Pratik [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 6:55 PM > To: axis-user@ws.apache.org > Subject: Bug in beandeserializer?? > > > > > Hi Everyone, > > I have a case where the generated code is that behaving right with case sensitivity. My element name is "EmptyName" and the generate code is something like this: > > elemField = new org.apache.axis.description.ElementDesc(); > elemField.setFieldName("emptyName"); > elemField.setXmlName(new javax.xml.namespace.QName("urn:person-org", "EmptyName")); > elemField.setXmlType(new javax.xml.namespace.QName("urn:person-org", "PersonOrg.EmptyName")); > elemField.setNillable(false); > typeDesc.addFieldDesc(elemField); > > > The schema is as following > > xmlns:xs="http://www.w3.org/2001/XMLSchema"; > targetNamespace="urn:person-org" elementFormDefault="qualified" > xmlns:porg="urn:person-org" xmlns="urn:person-org"> > > > > > > > > > > > > > > > soapenv:Server.userExceptionorg.xm > l.sax.SAXException: Invalid element in org.person.PersonOrg - > EmptyName xmlns:ns1="http://xml.apache.org/axis/";>LPP010755 il> > > When I debugged thought it is erroring out on BeanDeserilizer line 259. Please help I need to get this working by tomorrow morning??? I think this is a bug and if someone can fix it for me then it will be nice??? > > Thanks, > Parikh, Pratik | Software Engineer | Cerner Corporation | > (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com > > CONFIDENTIALITY NOTICE > > Thismessage and any included attachments > are from Cerner Corporation andare intended > only for the addressee. The information > contained inthis message is confidential and > may constitute inside or non-publicinformation > under international, federal, or state > securities laws.Unauthorized forwarding, > printing, copying, distribution, or use ofsuch > information is strictly prohibited and may be > unlawful. If youare not the addressee, please > promptly delete this message and notifythe > sender of the delivery error by e-mail or you > may call Cerner'scorporate offices in Kansas > City, Missouri, U.S.A at (+1)(816)221-1024. > -- > -- Davanum Srinivas : http://wso2.com/blogs/
RE: Bug in beandeserializer??
Title: Bug in beandeserializer?? Hi Everone, It seems like either noone know what is going on here or noone wants to offer help. I really think this is a bug, but don't know much about it to figure it out. Can anyone please help me with this??? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 10:23 AMTo: axis-user@ws.apache.orgSubject: RE: Bug in beandeserializer?? Can someone please look at this??? I need to resolve it. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 6:55 PMTo: axis-user@ws.apache.orgSubject: Bug in beandeserializer?? Hi Everyone, I have a case where the generated code is that behaving right with case sensitivity. My element name is "EmptyName" and the generate code is something like this: elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("emptyName"); elemField.setXmlName(new javax.xml.namespace.QName("urn:person-org", "EmptyName")); elemField.setXmlType(new javax.xml.namespace.QName("urn:person-org", "PersonOrg.EmptyName")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); The schema is as following http://www.w3.org/2001/XMLSchema" targetNamespace="urn:person-org" elementFormDefault="qualified" xmlns:porg="urn:person-org" xmlns="urn:person-org"> soapenv:Server.userExceptionorg.xml.sax.SAXException: Invalid element in org.person.PersonOrg - EmptyNamehttp://xml.apache.org/axis/">LPP010755 When I debugged thought it is erroring out on BeanDeserilizer line 259. Please help I need to get this working by tomorrow morning??? I think this is a bug and if someone can fix it for me then it will be nice??? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Bug in beandeserializer??
Title: Bug in beandeserializer?? Can someone please look at this??? I need to resolve it. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 6:55 PMTo: axis-user@ws.apache.orgSubject: Bug in beandeserializer?? Hi Everyone, I have a case where the generated code is that behaving right with case sensitivity. My element name is "EmptyName" and the generate code is something like this: elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("emptyName"); elemField.setXmlName(new javax.xml.namespace.QName("urn:person-org", "EmptyName")); elemField.setXmlType(new javax.xml.namespace.QName("urn:person-org", "PersonOrg.EmptyName")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); The schema is as following http://www.w3.org/2001/XMLSchema" targetNamespace="urn:person-org" elementFormDefault="qualified" xmlns:porg="urn:person-org" xmlns="urn:person-org"> soapenv:Server.userExceptionorg.xml.sax.SAXException: Invalid element in org.person.PersonOrg - EmptyNamehttp://xml.apache.org/axis/">LPP010755 When I debugged thought it is erroring out on BeanDeserilizer line 259. Please help I need to get this working by tomorrow morning??? I think this is a bug and if someone can fix it for me then it will be nice??? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
Bug in beandeserializer??
Title: Bug in beandeserializer?? Hi Everyone, I have a case where the generated code is that behaving right with case sensitivity. My element name is "EmptyName" and the generate code is something like this: elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("emptyName"); elemField.setXmlName(new javax.xml.namespace.QName("urn:person-org", "EmptyName")); elemField.setXmlType(new javax.xml.namespace.QName("urn:person-org", "PersonOrg.EmptyName")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); The schema is as following http://www.w3.org/2001/XMLSchema" targetNamespace="urn:person-org" elementFormDefault="qualified" xmlns:porg="urn:person-org" xmlns="urn:person-org"> soapenv:Server.userExceptionorg.xml.sax.SAXException: Invalid element in org.person.PersonOrg - EmptyNamehttp://xml.apache.org/axis/">LPP010755 When I debugged thought it is erroring out on BeanDeserilizer line 259. Please help I need to get this working by tomorrow morning??? I think this is a bug and if someone can fix it for me then it will be nice??? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: RE: Can you have more then one client handler - using client-config.wsdd
This is nice. I don't think this will work for me because I don't web client; I have a ejb client. But I think I got the idea. Thanks, Parikh, Pratik -Original Message- From: GEORGE MCKINNEY [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 5:49 PM To: axis-user@ws.apache.org Subject: Re: RE: Can you have more then one client handler - using client-config.wsdd The following is a sanitized (client identification info removed ) version of the file we use, with a few comments. It has two handlers outgoing and one incoming. Hope this helps. http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> - Original Message - From: "Parikh,Pratik" <[EMAIL PROTECTED]> Date: Thursday, December 8, 2005 11:56 am Subject: RE: Can you have more then one client handler > > Is there a example for this??? > > Thanks, > Parikh, Pratik > > > -Original Message- > From: Guy Rixon [EMAIL PROTECTED] > > Sent: Thursday, December 08, 2005 1:56 AM > To: axis-user@ws.apache.org > Subject: RE: Can you have more then one client handler > > You could try combining them into a handler chain. You could then > assignthe chain to handle the request. > > On Wed, 7 Dec 2005, Parikh,Pratik wrote: > > > Can anyone reply to this?? > > > > > > Thanks, > > Parikh, Pratik > > > > > > > > From: Parikh,Pratik [EMAIL PROTECTED] > > Sent: Wednesday, December 07, 2005 10:02 AM > > To: axis-user@ws.apache.org > > Subject: Can you have more then one client handler > > > > > > > > Hi Everyone, > > > > I have two handler in my client stub, one for logging out > messages > > to MQ and second is for CommonsHTTPSender. Now the problem I am > > > running into is that it only allow me to have one handler. Is there > > > anyway I can run both, please let me know? > > > > Thanks, > > Pratik > > > > CONFIDENTIALITY NOTICE > > > > This message and any included attachments are from Cerner > Corporation > > and are intended only for the addressee. The information > contained in > > > this message is confidential and may constitute inside or non-public > > > information under international, federal, or state securities laws. > > > Unauthorized forwarding, printing, copying, distribution, or use of > > > such information is strictly prohibited and may be unlawful. If you > > > are not the addressee, please promptly delete this message and > notify > > the sender of the delivery error by e-mail or you may call Cerner's > > > corporate offices in Kansas City, Missouri, U.S.A at (+1) > > > (816)221-1024. > > -- > > > > > > Guy Rixon [EMAIL PROTECTED] > Institute of Astronomy Tel: +44-1223-337542 > Madingley Road, Cambridge, UK, CB3 0HAFax: +44-1223-337523 > > CONFIDENTIALITY NOTICE > > This message and any included attachments are from Cerner Corporation > and are intended only for the addressee. The information contained in > this message is confidential and may constitute inside or non-public > information under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. > -- > CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Can you have more then one client handler
This is how I have it right now. I want to use chain so it actually don't over right the MQ one, and this happens in my "Stub". //Auditing - start org.apache.axis.Handler reqHandler = new com.cerner.fsi.endpoint.axis.handlers.auditing.MQLoggerHandler(); org.apache.axis.Handler respHandler = new com.cerner.fsi.endpoint.axis.handlers.auditing.MQLoggerHandler(); _call.setClientHandlers(reqHandler, respHandler); //Auditing - end // Use HttpClient to call a SOAP server. - start org.apache.axis.transport.http.CommonsHTTPSender reqConnectionHandler = new org.apache.axis.transport.http.CommonsHTTPSender(); org.apache.axis.transport.http.CommonsHTTPSender respConnectionHandler = new org.apache.axis.transport.http.CommonsHTTPSender(); _call.setClientHandlers(reqConnectionHandler,respConnectionHandler); // Use HttpClient to call a SOAP server. - end Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com -Original Message- From: iksrazal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 1:06 PM To: axis-user@ws.apache.org Subject: Re: Can you have more then one client handler Here's a rough example for how it works for one handler. //add ClientHandler to chain of events java.util.List list = svc.getHandlerRegistry().getHandlerChain(portQN); list.add(new javax.xml.rpc.handler.HandlerInfo(ClientHandler.class,this.handlerConfig ,null)); I guess just repeat for the second, third etc ? Not sure how the ordering would work either. Suggest looking at the API docs. iksrazal Em Quinta 08 Dezembro 2005 17:56, o Parikh,Pratik escreveu: > Is there a example for this??? > > Thanks, > Parikh, Pratik > > > -Original Message- > From: Guy Rixon [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 08, 2005 1:56 AM > To: axis-user@ws.apache.org > Subject: RE: Can you have more then one client handler > > You could try combining them into a handler chain. You could then > assign the chain to handle the request. > > On Wed, 7 Dec 2005, Parikh,Pratik wrote: > > Can anyone reply to this?? > > > > > > Thanks, > > Parikh, Pratik > > > > > > > > From: Parikh,Pratik [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 07, 2005 10:02 AM > > To: axis-user@ws.apache.org > > Subject: Can you have more then one client handler > > > > > > > > Hi Everyone, > > > > I have two handler in my client stub, one for logging out > > messages > > > > to MQ and second is for CommonsHTTPSender. Now the problem I am > > running into is that it only allow me to have one handler. Is there > > anyway I can run both, please let me know? > > > > Thanks, > > Pratik > > > > CONFIDENTIALITY NOTICE > > > > This message and any included attachments are from Cerner > > Corporation and are intended only for the addressee. The information > > contained in this message is confidential and may constitute inside > > or non-public information under international, federal, or state securities laws. > > Unauthorized forwarding, printing, copying, distribution, or use of > > such information is strictly prohibited and may be unlawful. If you > > are not the addressee, please promptly delete this message and > > notify the sender of the delivery error by e-mail or you may call > > Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) > > (816)221-1024. > > -- > > Guy Rixon [EMAIL PROTECTED] > Institute of AstronomyTel: +44-1223-337542 > Madingley Road, Cambridge, UK, CB3 0HAFax: +44-1223-337523 > > CONFIDENTIALITY NOTICE > > This message and any included attachments are from Cerner Corporation > and are intended only for the addressee. The information contained in > this message is confidential and may constitute inside or non-public > information under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. > -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only
RE: Can you have more then one client handler
What does "portQN" stand for??? Thanks, Parikh, Pratik -Original Message- From: iksrazal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 1:06 PM To: axis-user@ws.apache.org Subject: Re: Can you have more then one client handler Here's a rough example for how it works for one handler. //add ClientHandler to chain of events java.util.List list = svc.getHandlerRegistry().getHandlerChain(portQN); list.add(new javax.xml.rpc.handler.HandlerInfo(ClientHandler.class,this.handlerConfig ,null)); I guess just repeat for the second, third etc ? Not sure how the ordering would work either. Suggest looking at the API docs. iksrazal Em Quinta 08 Dezembro 2005 17:56, o Parikh,Pratik escreveu: > Is there a example for this??? > > Thanks, > Parikh, Pratik > > > -Original Message- > From: Guy Rixon [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 08, 2005 1:56 AM > To: axis-user@ws.apache.org > Subject: RE: Can you have more then one client handler > > You could try combining them into a handler chain. You could then > assign the chain to handle the request. > > On Wed, 7 Dec 2005, Parikh,Pratik wrote: > > Can anyone reply to this?? > > > > > > Thanks, > > Parikh, Pratik > > > > > > > > From: Parikh,Pratik [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 07, 2005 10:02 AM > > To: axis-user@ws.apache.org > > Subject: Can you have more then one client handler > > > > > > > > Hi Everyone, > > > > I have two handler in my client stub, one for logging out > > messages > > > > to MQ and second is for CommonsHTTPSender. Now the problem I am > > running into is that it only allow me to have one handler. Is there > > anyway I can run both, please let me know? > > > > Thanks, > > Pratik > > > > CONFIDENTIALITY NOTICE > > > > This message and any included attachments are from Cerner > > Corporation and are intended only for the addressee. The information > > contained in this message is confidential and may constitute inside > > or non-public information under international, federal, or state securities laws. > > Unauthorized forwarding, printing, copying, distribution, or use of > > such information is strictly prohibited and may be unlawful. If you > > are not the addressee, please promptly delete this message and > > notify the sender of the delivery error by e-mail or you may call > > Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) > > (816)221-1024. > > -- > > Guy Rixon [EMAIL PROTECTED] > Institute of AstronomyTel: +44-1223-337542 > Madingley Road, Cambridge, UK, CB3 0HAFax: +44-1223-337523 > > CONFIDENTIALITY NOTICE > > This message and any included attachments are from Cerner Corporation > and are intended only for the addressee. The information contained in > this message is confidential and may constitute inside or non-public > information under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. > -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Can you have more then one client handler
Is there a example for this??? Thanks, Parikh, Pratik -Original Message- From: Guy Rixon [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 1:56 AM To: axis-user@ws.apache.org Subject: RE: Can you have more then one client handler You could try combining them into a handler chain. You could then assign the chain to handle the request. On Wed, 7 Dec 2005, Parikh,Pratik wrote: > Can anyone reply to this?? > > > Thanks, > Parikh, Pratik > > ________ > > From: Parikh,Pratik [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 07, 2005 10:02 AM > To: axis-user@ws.apache.org > Subject: Can you have more then one client handler > > > > Hi Everyone, > > I have two handler in my client stub, one for logging out messages > to MQ and second is for CommonsHTTPSender. Now the problem I am > running into is that it only allow me to have one handler. Is there > anyway I can run both, please let me know? > > Thanks, > Pratik > > CONFIDENTIALITY NOTICE > > This message and any included attachments are from Cerner Corporation > and are intended only for the addressee. The information contained in > this message is confidential and may constitute inside or non-public > information under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. > -- > > Guy Rixon [EMAIL PROTECTED] Institute of Astronomy Tel: +44-1223-337542 Madingley Road, Cambridge, UK, CB3 0HA Fax: +44-1223-337523 CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Can you have more then one client handler
Title: Can you have more then one client handler Can anyone reply to this?? Thanks, Parikh, Pratik From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 10:02 AMTo: axis-user@ws.apache.orgSubject: Can you have more then one client handler Hi Everyone, I have two handler in my client stub, one for logging out messages to MQ and second is for CommonsHTTPSender. Now the problem I am running into is that it only allow me to have one handler. Is there anyway I can run both, please let me know? Thanks, Pratik CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
Can you have more then one client handler
Title: Can you have more then one client handler Hi Everyone, I have two handler in my client stub, one for logging out messages to MQ and second is for CommonsHTTPSender. Now the problem I am running into is that it only allow me to have one handler. Is there anyway I can run both, please let me know? Thanks, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: printing out SOAP messages to axis.log
Are you on doint this on client side or server side. Thanks, Pratik Parikh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 6:53 PM To: axis-user@ws.apache.org Subject: printing out SOAP messages to axis.log Hi, I'd like to print out raw incoming and outgoing SOAP messages. Adding the following to log4j.props file did produce some log output, but not the SOAP xml. What am I missing? log4j.rootLogger=warn, stdout, A1 # show DEBUG for SOAPPart method log4j.logger.org.apache.axis.SOAPPart=DEBUG # A1 is set to be a ConsoleAppender. # log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.File=/tmp/axis.log # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n thanks -nikita CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: nil = "true"
Hi everyone, what is the process follow of writing xml out to the stream. Which file are being used, i want to set a break point and find out how i can change this code to make sure that it does not write out the null elements. Thanks, Pratik From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 11:47 AMTo: axis-user@ws.apache.orgSubject: RE: nil = "true" I have tested this on Axis 1.3, and i will log an enhancement. Has anyone else tried it and have different results!!! Thanks, Pratik Parikh From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 6:10 AMTo: axis-user@ws.apache.orgSubject: Re: nil = "true" Have you tested this with Axis 1.3?If the problem still exists, please file an enhancement request.Anne On 11/14/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: I am interested in this as well Please reply it there is one.Thanks,Pratik Parikh-Original Message-From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]Sent: Monday, November 14, 2005 2:46 AMTo: axis-user@ws.apache.orgSubject: RE: nil = "true"Lets bring this old topic to life again. Is it still not possible to make AXIS omit optional elements(minOccurs="0")in a RPC-SOAP request if no value is given?The Java method created for a WSDL with optional elements only leavesthe developer the choice to set any value or null for optionalparameters.When the developer set null he means to say that he does not want togive a value for this parameter. But what he gets in the SOAP request is an element containing null (xsi:null="true") instead of no element. Forservice processing the request this can make a big difference. "Null"and "not given" are two different states (in XML). It is just that the generated Java implementation does not allow to differentiate betweenthem.There should be a setting for AXIS controlling the generation ofoptional elements for null values. Is there one? Are there other possibilities?Regards,Ulf LichtList: axis-userSubject:xsi:nil="true"From: Seth Tager Date: 2003-08-14 21:53:33 I'm having a problem with a Microsoft .NET service(MapPoint) choking on any (I think it's any, but I'm not positive)element that contains nil="true", as in Axis 1.0 eliminated these elements from the request, which makes the.NET service happy, but 1.1 includes them.The year-old, archive message (below) seems to be related, but the wsdl looks like it already has minOccurs="0" maxOccurs="1" as in thissnippet: name="MapSpecification">name="Pushpins" type="s0:ArrayOfPushpin"/> name="Route" type="s0:Route"/> Any suggestions about how to fix, or work around this problem.From the archives:Subject: RE: nil = "true"From: Tom Jordahl Date: 2002-07-31 13:58:51If you are using a document/literal service, you can change the WSDL tohave \ minoccurs=0 maxoccurs=1. Then if the value if null, it will beomitted from the XML \ in the request/response. If you are using rpc/encoded, you can't do this as encoded will alwaysuse nil=true.See the test in java/test/wsdl/omit for an example.--Tom JordahlMacromedia-Original Message- From: Snigdha Pandit [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 31, 2002 5:57 AMTo: Axis UsersSubject: xsi:nil = "true"hi All,How can I eliminate elements with xsi:nil attribute set to true? Thanks and RegardsSnigdha__Do you Yahoo!?Yahoo! SiteBuilder - Free, easy-to-use web site design softwarehttp://sitebuilder.yahoo.com CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential and may constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may be unlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: nil = "true"
I have tested this on Axis 1.3, and i will log an enhancement. Has anyone else tried it and have different results!!! Thanks, Pratik Parikh From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 6:10 AMTo: axis-user@ws.apache.orgSubject: Re: nil = "true" Have you tested this with Axis 1.3?If the problem still exists, please file an enhancement request.Anne On 11/14/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: I am interested in this as well Please reply it there is one.Thanks,Pratik Parikh-Original Message-From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]Sent: Monday, November 14, 2005 2:46 AMTo: axis-user@ws.apache.orgSubject: RE: nil = "true"Lets bring this old topic to life again. Is it still not possible to make AXIS omit optional elements(minOccurs="0")in a RPC-SOAP request if no value is given?The Java method created for a WSDL with optional elements only leavesthe developer the choice to set any value or null for optionalparameters.When the developer set null he means to say that he does not want togive a value for this parameter. But what he gets in the SOAP request is an element containing null (xsi:null="true") instead of no element. Forservice processing the request this can make a big difference. "Null"and "not given" are two different states (in XML). It is just that the generated Java implementation does not allow to differentiate betweenthem.There should be a setting for AXIS controlling the generation ofoptional elements for null values. Is there one? Are there other possibilities?Regards,Ulf LichtList: axis-userSubject:xsi:nil="true"From: Seth Tager Date: 2003-08-14 21:53:33 I'm having a problem with a Microsoft .NET service(MapPoint) choking on any (I think it's any, but I'm not positive)element that contains nil="true", as in Axis 1.0 eliminated these elements from the request, which makes the.NET service happy, but 1.1 includes them.The year-old, archive message (below) seems to be related, but the wsdl looks like it already has minOccurs="0" maxOccurs="1" as in thissnippet: name="MapSpecification">name="Pushpins" type="s0:ArrayOfPushpin"/> name="Route" type="s0:Route"/> Any suggestions about how to fix, or work around this problem.From the archives:Subject: RE: nil = "true"From: Tom Jordahl Date: 2002-07-31 13:58:51If you are using a document/literal service, you can change the WSDL tohave \ minoccurs=0 maxoccurs=1. Then if the value if null, it will beomitted from the XML \ in the request/response. If you are using rpc/encoded, you can't do this as encoded will alwaysuse nil=true.See the test in java/test/wsdl/omit for an example.--Tom JordahlMacromedia-Original Message- From: Snigdha Pandit [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 31, 2002 5:57 AMTo: Axis UsersSubject: xsi:nil = "true"hi All,How can I eliminate elements with xsi:nil attribute set to true? Thanks and RegardsSnigdha__Do you Yahoo!?Yahoo! SiteBuilder - Free, easy-to-use web site design softwarehttp://sitebuilder.yahoo.com CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential and may constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may be unlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: nil = "true"
I am interested in this as well Please reply it there is one. Thanks, Pratik Parikh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 2:46 AM To: axis-user@ws.apache.org Subject: RE: nil = "true" Lets bring this old topic to life again. Is it still not possible to make AXIS omit optional elements (minOccurs="0")in a RPC-SOAP request if no value is given? The Java method created for a WSDL with optional elements only leaves the developer the choice to set any value or null for optional parameters. When the developer set null he means to say that he does not want to give a value for this parameter. But what he gets in the SOAP request is an element containing null (xsi:null="true") instead of no element. For service processing the request this can make a big difference. "Null" and "not given" are two different states (in XML). It is just that the generated Java implementation does not allow to differentiate between them. There should be a setting for AXIS controlling the generation of optional elements for null values. Is there one? Are there other possibilities? Regards, Ulf Licht List: axis-user Subject:xsi:nil="true" From: Seth Tager Date: 2003-08-14 21:53:33 I'm having a problem with a Microsoft .NET service (MapPoint) choking on any (I think it's any, but I'm not positive) element that contains nil="true", as in Axis 1.0 eliminated these elements from the request, which makes the .NET service happy, but 1.1 includes them. The year-old, archive message (below) seems to be related, but the wsdl looks like it already has minOccurs="0" maxOccurs="1" as in this snippet: Any suggestions about how to fix, or work around this problem. >From the archives: Subject: RE: nil = "true" From: Tom Jordahl Date: 2002-07-31 13:58:51 If you are using a document/literal service, you can change the WSDL to have \ minoccurs=0 maxoccurs=1. Then if the value if null, it will be omitted from the XML \ in the request/response. If you are using rpc/encoded, you can't do this as encoded will always use nil=true. See the test in java/test/wsdl/omit for an example. -- Tom Jordahl Macromedia -Original Message- From: Snigdha Pandit [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 5:57 AM To: Axis Users Subject: xsi:nil = "true" hi All, How can I eliminate elements with xsi:nil attribute set to true? Thanks and Regards Snigdha __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
Adding ws-addressing as the soap header.
Title: Adding ws-addressing as the soap header. Hi everyone, I am trying to added ws-addressing information in my soap header, but the MessageContext.getCurrentContext is null in my service method how do I go about in filling this information out. I am using addressing api for doing ws-addressing. And the AddressingHeaders has a method called toEnvelope which takes SoapEvn and actionURI. But the message context is null, can anyone tell me what I am doing wrong Thanks, Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
Decorating request and response Xml
Title: Decorating request and response Xml Hi Everyone, Is there a way to decorate request and response xml. Below is what I get, in short is there a way to not include the element with xsi:nil="true" and also I need to remove the xmlns = "". http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> http://www.w3.org/2001/XMLSchema-instance"/> person.address person.administrativeGenderCode Thanks, Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType
Title: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType Hi Everyone, Please ignore this thread, I have solved this problem. Thanks, Parikh, Pratik From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 7:42 PMTo: axis-user@ws.apache.orgSubject: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType Hi Everyone, I have a problem where axis is throwing the error on deserializer. It sends the request from the client and on the web service side it parses the request and creates the response. But deserializer it is throwing the error, while parsing one of the elements it throws out the following exception: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType I know what is happing, the engine thinks that the element is anyType but the element is of different type. Can some one tell me what I can do to fix this, it seems like that the stub that was generated was not right??? Can some one tell me how is typemapping stored….. NOTES: This is the object: qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "PRPA_MT230101UK13.Subject"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.PRPA_MT230101UK13Subject.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); It is being used by following object as an element seqence with a cardinality of 0..* qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "PRPA_MT230101UK13.PdsTraceMatch"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.PRPA_MT230101UK13PdsTraceMatch.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); Any help will be greatly appreciated…. Thanks, Pratik Parikh CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
No deserializer for {http://www.w3.org/2001/XMLSchema}anyType
Title: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType Hi Everyone, I have a problem where axis is throwing the error on deserializer. It sends the request from the client and on the web service side it parses the request and creates the response. But deserializer it is throwing the error, while parsing one of the elements it throws out the following exception: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType I know what is happing, the engine thinks that the element is anyType but the element is of different type. Can some one tell me what I can do to fix this, it seems like that the stub that was generated was not right??? Can some one tell me how is typemapping stored….. NOTES: This is the object: qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "PRPA_MT230101UK13.Subject"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.PRPA_MT230101UK13Subject.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); It is being used by following object as an element seqence with a cardinality of 0..* qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "PRPA_MT230101UK13.PdsTraceMatch"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.PRPA_MT230101UK13PdsTraceMatch.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); Any help will be greatly appreciated…. Thanks, Pratik Parikh CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Any Type Problem!! Please Read.
Hi Anne, Thanks for the reply, I found that out as well. I just made it a ext string. Thanks, Parikh, Pratik From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 5:27 PMTo: axis-user@ws.apache.orgSubject: Re: Any Type Problem!! Please Read. This is a user question, not a developer question. In the future, please send user questions only to the user list. the developer list is for discussion of the Axis code base.There are some issues with your complex type definition:1. You have a group with no choice. 2. You don't define a datatype for the element. (Therefore it defaults to xsd:anyType.)3. If your intention is to add an attribute to a simpleType then you need to define it as an extension. Assuming that you want the contents of to be xsd:anyType, then I think you want to define it like so: If instead you want the contents of to be a defined type, like xsd:string, then specify that type in the "base" attribute, e.g.: Anne On 11/9/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: Hi Everyone, I have a data type call PNCerner, which is as following: which translet into axis generated code as a PNCerner class, then it creates a PNCernerDelimiter. The problem I have is in PNCernerDelimiter, here is the generated code, and the problem that I have is that during the runtime when the xml is send thought the stream it added a extra black tag in front of value, I am setting the values in _any[0].setValue("Pratik"), below is what I get as xml for it <>Pratik and I want it to be Pratik. How do I fix it??? public class PNCernerDelimiter implements java.io.Serializable, org.apache.axis.encoding.MixedContentType { private org.apache.axis.message.MessageElement [] _any; // attribute private org.apache.axis.types.Token type; // attribute public PNCernerDelimiter() { } public PNCernerDelimiter( org.apache.axis.message.MessageElement [] _any, org.apache.axis.types.Token type) { this._any = _any; this.type = type; } /** * Gets the _any value for this PNCernerDelimiter. * * @return _any */ public org.apache.axis.message.MessageElement [] get_any() { return _any; } /** * Sets the _any value for this PNCernerDelimiter. * * @param _any */ public void set_any(org.apache.axis.message.MessageElement [] _any) { this._any = _any; } /** * Gets the type value for this PNCernerDelimiter. * * @return type */ public org.apache.axis.types.Token getType() { return type; } /** * Sets the type value for this PNCernerDelimiter. * * @param type */ public void setType(org.apache.axis.types.Token type) { this.type = type; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof PNCernerDelimiter)) return false; PNCernerDelimiter other = (PNCernerDelimiter) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this._any==null && other.get_any()==null) || (this._any!=null && java.util.Arrays.equals(this._any, other.get_any( && ((this.type==null && other.getType()==null) || (this.type!=null && this.type.equals(other.getType(; __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (get_any() != null) { for (int i=0; i i++) { java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i); if (obj != null &&
Any Type Problem!! Please Read.
va.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer( _javaType, _xmlType, typeDesc); } /** * Get Custom Deserializer */ public static org.apache.axis.encoding.Deserializer getDeserializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer( _javaType, _xmlType, typeDesc); } } Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Binding is not getting called????
Title: Binding is not getting called Hi Everyone, Please ignore this thread, as it is getting called but I had a breakpoint set on a final static variable. But since it was called already once in the process thread it never went to that. Thanks, Pratik Parikh From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 11:09 AMTo: axis-user@ws.apache.orgSubject: Binding is not getting called Hi Everyone, Yet another problem that I am running into, I have a the following in server-config.wsdd: cerner.clinical.WebPDS_BindingImpl"/> But when I call the service it does not call WebPDS_BindingImpl. Any suggestion what I might be doing wrong. NOTE: I can see the message in tcpMom. So it is hitting the port on which the service is listening. Thanks, Pratik Parikh CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
Binding is not getting called????
Title: Binding is not getting called Hi Everyone, Yet another problem that I am running into, I have a the following in server-config.wsdd: cerner.clinical.WebPDS_BindingImpl"/> But when I call the service it does not call WebPDS_BindingImpl. Any suggestion what I might be doing wrong. NOTE: I can see the message in tcpMom. So it is hitting the port on which the service is listening. Thanks, Pratik Parikh CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Does anyone hava axis.jar with src in it
Hi Arul, That is either binary or the whole src dist. We don't have one with the source and classes for debugging. Thanks, Parikh, Pratik -Original Message- From: arul thayalan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 9:56 PM To: axis-user@ws.apache.org Subject: Re: Does anyone hava axis.jar with src in it You can downlaod from the URL http://ws.apache.org/axis/index.html Regards Arul. --- "Parikh,Pratik" <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I am trying to debug a problem, and was wondering if anyone has a > jar that includes source. If you do then can you send it to me. > > Thanks, > Parikh, Pratik > > > > > CONFIDENTIALITY NOTICE > > This message and any included attachments are from Cerner Corporation > and are intended only for the addressee. The information contained in > this message is confidential and may constitute inside or non-public > information under international, federal, or state securities laws. > Unauthorized forwarding, printing, copying, distribution, or use of > such information is strictly prohibited and may be unlawful. If you > are not the addressee, please promptly delete this message and notify > the sender of the delivery error by e-mail or you may call Cerner's > corporate offices in Kansas City, Missouri, U.S.A at (+1) > (816)221-1024. > -- Do you Yahoo!? Messenger 7.0: Free worldwide PC to PC calls http://au.messenger.yahoo.com CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
Does anyone hava axis.jar with src in it
Title: Does anyone hava axis.jar with src in it Hi Everyone, I am trying to debug a problem, and was wondering if anyone has a jar that includes source. If you do then can you send it to me. Thanks, Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Is this a bug??
Title: Is this a bug?? Well i am looking at the object by it self. And it has values filed out for that field. It would help if some how i can generate the marsall that object in the xml, as it huge and i might be missing something. Thanks,Pratik From: Simon Fell [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 6:43 PMTo: axis-user@ws.apache.orgSubject: RE: Is this a bug?? look at the stack, that's an error during serialization, TCPMon isn't going to show any message, because non got sent. From: Dovholuk, Clint [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 3:11 PMTo: axis-user@ws.apache.orgCc: axis-dev@ws.apache.orgSubject: RE: Is this a bug?? sounds like on your client you are instantiating a java object but not populating the "required" attribute named "id", sending the object to axis, and axis is rejecting the message because the id attribute of the class can't be null. use TCPMon (or whatever) and check the message you're sending and verify that the id is indeed in the message. From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 6:08 PMTo: axis-user@ws.apache.orgCc: axis-dev@ws.apache.orgSubject: Is this a bug?? Hi Everyone, I am getting a following exception when I try to send a message thought my client to my web service. I looked around for solution and it seems like it is a bug, but am not sure can some one help me??? I am also using a MQ Logger where it does the same…. Please help me??? java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'id' is null. java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'id' is null. at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275) at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502) at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978) at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:799) at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208) at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.MessageElement.getAsString(MessageElement.java:) at com.cerner.endpoint.fsi.axis.handlers.auditing.MQLoggerHandler.invoke(MQLoggerHandler.java:90) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) Reference Links <http://www.opensubscriber.com/message/kandula-dev@ws.apache.org/2450136.html> Thanks, Parikh, Pratik CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Is this a bug??
Title: Is this a bug?? I checked my object but it is filled out. Another suggestions Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Dovholuk, Clint [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 5:11 PMTo: axis-user@ws.apache.orgCc: axis-dev@ws.apache.orgSubject: RE: Is this a bug?? sounds like on your client you are instantiating a java object but not populating the "required" attribute named "id", sending the object to axis, and axis is rejecting the message because the id attribute of the class can't be null. use TCPMon (or whatever) and check the message you're sending and verify that the id is indeed in the message. From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 6:08 PMTo: axis-user@ws.apache.orgCc: axis-dev@ws.apache.orgSubject: Is this a bug?? Hi Everyone, I am getting a following exception when I try to send a message thought my client to my web service. I looked around for solution and it seems like it is a bug, but am not sure can some one help me??? I am also using a MQ Logger where it does the same…. Please help me??? java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'id' is null. java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'id' is null. at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275) at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502) at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978) at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:799) at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208) at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.MessageElement.getAsString(MessageElement.java:) at com.cerner.endpoint.fsi.axis.handlers.auditing.MQLoggerHandler.invoke(MQLoggerHandler.java:90) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) Reference Links <http://www.opensubscriber.com/message/kandula-dev@ws.apache.org/2450136.html> Thanks, Parikh, Pratik CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
Is this a bug??
Title: Is this a bug?? Hi Everyone, I am getting a following exception when I try to send a message thought my client to my web service. I looked around for solution and it seems like it is a bug, but am not sure can some one help me??? I am also using a MQ Logger where it does the same…. Please help me??? java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'id' is null. java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'id' is null. at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275) at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502) at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978) at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:799) at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208) at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139) at org.apache.axis.message.MessageElement.output(MessageElement.java:1208) at org.apache.axis.message.MessageElement.getAsString(MessageElement.java:) at com.cerner.endpoint.fsi.axis.handlers.auditing.MQLoggerHandler.invoke(MQLoggerHandler.java:90) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) Reference Links <http://www.opensubscriber.com/message/kandula-dev@ws.apache.org/2450136.html> Thanks, Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0
Hi Ajith, I fall under issue second, so I assume, I am going to try to generate this using cmdline ant. I think that should work for me, I will update you on that. Is there a example of migrating client code manually and I am using ws-addressing. I think this is supported directly by Axis2. Thanks, Parikh, Pratik From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05, 2005 3:31 PMTo: axis-user@ws.apache.orgSubject: Re: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0 Hi Pratik,Are you using the latest code ? This particular problem is known to arise in two cases.1. When the used DOM parser is not namespace aware2. Inside the Eclipse environment (even when the parser is namespace aware)Issue 1 is already fixed and should not be present in the latest code. The second issue however is still there and we've not being able to find a solution.Also a word about migration. Even though the Axis1 server side code is transferabble to the Axis2 environment, right now there is no way to convert client code! (Apart from regenerating the client from the WSDL). We are looking into the possibility of introducing a tool that helps in migration but it may not be soon, most probably post 1.0 On 11/6/05, Parikh,Pratik <[EMAIL PROTECTED] > wrote: I am trying to use Axis2 migrating from Axis1.3. And am trying to generate code, but i get follwoing. It seems like the way axis is using this might need to be modified. I don't know if this is a defect or what, can someone more knowledgeable with code look into this. build.xml:24: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied input is not a schema document: its type is N= Reference Thread http://mail-archives.apache.org/mod_mbox/xml-xmlbeans-user/200407.mbox/[EMAIL PROTECTED] Thanks, Parikh, Pratik From: Jayaraman, Venkatesh [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 05, 2005 1:17 PMTo: Jayaraman, Venkatesh; axis-user@ws.apache.orgSubject: RE: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0 How much speed we will gain in Axis 2.0 over (Axis 1.2 and Axis 1.3) ? Also In Axis 1.2 RC3, is parser reuse is turned on by default to increase the performance? -Venky From: Jayaraman, Venkatesh Sent: Saturday, November 05, 2005 11:14 AMTo: 'axis-user@ws.apache.org 'Subject: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0 What is new in Axis 2.0 version? Speed - Axis2 is based on StAX API(http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html ), which gives greater speed than SAX event base parsing that has been used in Axis1.2 Stability - Axis2 has fixed phases and for extensions an area of user defined phases. This allows far more stability and flexibility than Axis1.x. Transport framework - Simple abstraction designing of transports (i.e., senders and listeners for SOAP over various protocols such as SMTP, etc), allow far more flexibility and the core of the engine is completely transport-independent. WSDL Support - Axis2 supports version 1.1 and 2.0, which allow creating stubs and skeletons, to manipulate web service arena. Component - Oriented Architecture - This is merely through archives (.mar and .aar) . Easily reusable components such as Handlers, Modules allow patterns processing for your applications, or to distribute to partners. Axis2 more concern on the "Module" concept rather Handler concept. Modules contain handlers that have been ordered through phase rules. which being ordered to specific service(s). Why stAX (not SAX) parsing? The Streaming API for XML (StAX) allows not only parsing of XML documents but also writing XML documents to an output stream. Until recently, programmers had only two choices when creating XML documents programmatically. Their first option was to directly write serialized XML content to the output stream, and the second was to use DOM. Both options have severe drawbacks. In the first case, the programmer is fully responsible for ensuring that the resulting document is well formed. The programmer must take care of details such as matching start and end tags or the escaping of special characters, such as the less than sign (<) and the ampersand (&), in character content. This can make the implementation of programs tedious and error prone. DOM, on the other hand, frees the programmer from this burden but introduces considerable overhead: The complete document must first be constru
RE: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0
I am trying to use Axis2 migrating from Axis1.3. And am trying to generate code, but i get follwoing. It seems like the way axis is using this might need to be modified. I don't know if this is a defect or what, can someone more knowledgeable with code look into this. build.xml:24: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: Thread main: The 0th supplied input is not a schema document: its type is N= Reference Thread http://mail-archives.apache.org/mod_mbox/xml-xmlbeans-user/200407.mbox/[EMAIL PROTECTED] Thanks, Parikh, Pratik From: Jayaraman, Venkatesh [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05, 2005 1:17 PMTo: Jayaraman, Venkatesh; axis-user@ws.apache.orgSubject: RE: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0 How much speed we will gain in Axis 2.0 over (Axis 1.2 and Axis 1.3) ? Also In Axis 1.2 RC3, is parser reuse is turned on by default to increase the performance? -Venky From: Jayaraman, Venkatesh Sent: Saturday, November 05, 2005 11:14 AMTo: 'axis-user@ws.apache.org'Subject: StAX API (http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html) and AXIS 2.0 What is new in Axis 2.0 version? Speed - Axis2 is based on StAX API(http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html), which gives greater speed than SAX event base parsing that has been used in Axis1.2 Stability - Axis2 has fixed phases and for extensions an area of user defined phases. This allows far more stability and flexibility than Axis1.x. Transport framework - Simple abstraction designing of transports (i.e., senders and listeners for SOAP over various protocols such as SMTP, etc), allow far more flexibility and the core of the engine is completely transport-independent. WSDL Support - Axis2 supports version 1.1 and 2.0, which allow creating stubs and skeletons, to manipulate web service arena. Component - Oriented Architecture - This is merely through archives (.mar and .aar) . Easily reusable components such as Handlers, Modules allow patterns processing for your applications, or to distribute to partners. Axis2 more concern on the "Module" concept rather Handler concept. Modules contain handlers that have been ordered through phase rules. which being ordered to specific service(s). Why stAX (not SAX) parsing? The Streaming API for XML (StAX) allows not only parsing of XML documents but also writing XML documents to an output stream. Until recently, programmers had only two choices when creating XML documents programmatically. Their first option was to directly write serialized XML content to the output stream, and the second was to use DOM. Both options have severe drawbacks. In the first case, the programmer is fully responsible for ensuring that the resulting document is well formed. The programmer must take care of details such as matching start and end tags or the escaping of special characters, such as the less than sign (<) and the ampersand (&), in character content. This can make the implementation of programs tedious and error prone. DOM, on the other hand, frees the programmer from this burden but introduces considerable overhead: The complete document must first be constructed as a node tree in memory before it can be serialized to an output stream. The Streaming API for XML (StAX) completely changes this. Unlike the Simple API for XML (SAX), StAX offers an API for writing XML documents. To be precise, it offers two APIs: a low-level, cursor-based API (XMLStreamWriter), and a higher-level, event-based API (XMLEventWriter). While the cursor-based API is best used in data binding scenarios (for example, creating a document from application data), the event-based API is typically used in pipelining scenarios where a new document is constructed from the data of input documents. StAX does not guarantee well-formed documents. It is still possible to produce a document that violates the XML recommendation, such as a document with several root elements or several XML prologues, or tag and attribute names containing whitespace or characters not supported by XML. StAX implementations may check these issues but they are not required to do so (the reference implementation doesn't). Nevertheless, the StAX XMLStreamWriter is a big improvement over outputting raw XML data, and it does this at a fraction of the cost of using DOM. --Venky CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unaut
RE: WSDL2Java Question
that should work, Thanks, Parikh, Pratik From: Jalenak, Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 11:09 AMTo: axis-user@ws.apache.orgSubject: RE: WSDL2Java Question I’ve done that, and I still get skeleton classes for all of my objects. I think what is happening is that WSDL2Java is creating an entire package for my webservice, when I really already have all the implementation done. What I have been thinking now is, can I simply change the deploy.wsdd to point to my implemented class? Or will that cause other problems? Jerry Jalenak Software Engineer Netopia, Inc. From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 11:00 AMTo: axis-user@ws.apache.orgSubject: RE: WSDL2Java Question use -S option while you generate. Thanks, Parikh, Pratik From: Jalenak, Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 10:57 AMTo: axis-user@ws.apache.orgSubject: WSDL2Java Question I have a complete set of Java classes that I am exposing through Axis 1.3. Is there a way, using WSDL2Java, to only generate the binding classes (i.e. Service, ServiceLocator, SoapBindingImpl, SoapBindingStub, SoapBindingSkeleton), the deploy and undeploy WSDD files, without also generating all of the other server-side skeleton code for my existing classes? It would be nice (and convenient) if WSDL2Java would simply ‘hook’ into my existing classes….. Thanks! Jerry Jalenak Software Engineer Netopia, Inc. CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: WSDL2Java Question
use -S option while you generate. Thanks, Parikh, Pratik From: Jalenak, Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 10:57 AMTo: axis-user@ws.apache.orgSubject: WSDL2Java Question I have a complete set of Java classes that I am exposing through Axis 1.3. Is there a way, using WSDL2Java, to only generate the binding classes (i.e. Service, ServiceLocator, SoapBindingImpl, SoapBindingStub, SoapBindingSkeleton), the deploy and undeploy WSDD files, without also generating all of the other server-side skeleton code for my existing classes? It would be nice (and convenient) if WSDL2Java would simply ‘hook’ into my existing classes….. Thanks! Jerry Jalenak Software Engineer Netopia, Inc. CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: Really need help badly, If you know what is causing this then please reply - Ignore
Title: Really need help badly, If you know what is causing this then please reply Ignore this message thread. From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 11:28 PMTo: axis-user@ws.apache.orgSubject: Really need help badly, If you know what is causing this then please reply Hi Everyone, I am getting following when I deploy my web service on web sphere. I don't know what is going can some one point me in right directory [11/3/05 23:22:58:384 CST] 4f35ede6 WebGroup E SRVE0020E: [Servlet Error]-[AdminServlet]: Failed to load servlet: java.lang.ClassCastException: org.apache.axis.transport.http.AdminServlet at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:412) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:219) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1026) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:134) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) [11/3/05 23:22:58:424 CST] 4f35ede6 TraceNLS u No message text associated with key Servlet.[AdminServlet]:.not.a.servlet.class in bundle com.ibm.ejs.resources.seriousMessages [11/3/05 23:22:58:424 CST] 4f35ede6 WebAppServlet E Servlet [AdminServlet]: not a servlet class [11/3/05 23:22:58:434 CST] 4f35ede6 WebGroup E SRVE0020E: [Servlet Error]-[SOAPMonitorService]: Failed to load servlet: java.lang.ClassCastException: org.apache.axis.monitor.SOAPMonitorService at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:412) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:219) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1026) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
Really need help badly, If you know what is causing this then please reply
Title: Really need help badly, If you know what is causing this then please reply Hi Everyone, I am getting following when I deploy my web service on web sphere. I don't know what is going can some one point me in right directory [11/3/05 23:22:58:384 CST] 4f35ede6 WebGroup E SRVE0020E: [Servlet Error]-[AdminServlet]: Failed to load servlet: java.lang.ClassCastException: org.apache.axis.transport.http.AdminServlet at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:412) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:219) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1026) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:134) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) [11/3/05 23:22:58:424 CST] 4f35ede6 TraceNLS u No message text associated with key Servlet.[AdminServlet]:.not.a.servlet.class in bundle com.ibm.ejs.resources.seriousMessages [11/3/05 23:22:58:424 CST] 4f35ede6 WebAppServlet E Servlet [AdminServlet]: not a servlet class [11/3/05 23:22:58:434 CST] 4f35ede6 WebGroup E SRVE0020E: [Servlet Error]-[SOAPMonitorService]: Failed to load servlet: java.lang.ClassCastException: org.apache.axis.monitor.SOAPMonitorService at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188) at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542) at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272) at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277) at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:412) at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:219) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1026) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:134) at com.ibm.ws.runtime.com
RE: new ?wsdl bug in 1.3?
Did you regenerate the code? BTW,I am having the same problem. Thanks, Pratik Parikh -Original Message- From: Garret Pick [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 6:58 PM To: axis-user@ws.apache.org Subject: new ?wsdl bug in 1.3? Hi, Does anyone know if this is a new bug in axis 1.3? I did not have this problem with axis 1.2.2 At http://?wsdl, I see the following error: Fault - makeTypeElement() was told to create a type "{http://xxx>queryStringList", with no containing element AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: makeTypeElement() was told to create a type "{http://xxx>queryStringList", with no containing element faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:xxx Here is the portion of my WSDL where this is defined: - What's somewhat odd is that the service seems to be deployed and working. However, I also need the published WSDL to work. Any work-arounds such as an alternate way to define Java type String[]? thanks, Garret __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
Example on deploying Axis on Web Sphere Application Server
Title: Example on deploying Axis on Web Sphere Application Server Hi Everyone, Can someone point me to an article that describes deploying a Axis web service on Web Sphere Application Server. This is urgent any help will be appreciated!!! Thanks, Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: 2 WSDL2Java problems moving from 1.1 to 1.3
Just get the latest sun jwsdp-1.6 and that should get you activation.jar, and you should have j2ee.jar if you have the j2ee installed. Thanks, Parikh, Pratik -Original Message- From: Allen Cronce [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 11:00 AM To: axis-user@ws.apache.org Subject: Re: 2 WSDL2Java problems moving from 1.1 to 1.3 Thanks for the response. I've seen this kind of recommendation in other posts. But I haven't added those jars because I thought that all it would do is get rid of the DataHandler and MimeMultipart warnings. As I indicated, I don't need attachment support. Honestly I don't see how adding jars specific to attachment support will address the "specialAttrs is referenced but not defined" error. But I'm willing to try it. I don't have these jars on my system so I will have to download them. Are there certain versions of these jars that I need for Axis 1.3? If anyone could provide some links to jars that are known to work, I'd appreciate it. Best regards, -- Allen Cronce Parikh,Pratik wrote: > Add activation.jar and j2ee.jar in your classpath. > > Thanks, > Parikh, Pratik > -Original Message- > From: Allen Cronce [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 02, 2005 10:12 AM > To: axis-user@ws.apache.org > Subject: 2 WSDL2Java problems moving from 1.1 to 1.3 > > Hi all, > > I ran into a bug in Axis 1.1 where if you have a combination of in, > out and inout parameters, Axis gets confused and screws up the array > of parameters delivered to the xxxImpl.java code. As a result, there's > a Java exception because the parameters don't match the method call > signature. > > It looks like this bug is fixed in 1.3, so I'm trying to move to that > version. But now with 1.3 I'm running into code generation problems. > > First, when I use the Axis 1.3 WSDL2Java to generate the server side > classes, I get the following error: > > - Unable to find required classes (javax.activation.DataHandler and > javax.mail.internet.MimeMultipart). Attachment support is disabled. > Parsing XML file: axisprob.wsdl > java.io.IOException: Type specialAttrs is referenced but not defined. > at > org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolT > ab > le.java:665) > at > org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545) > at > org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java > :5 > 18) > at > org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java > :4 > 95) > at > org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361) > at java.lang.Thread.run(Thread.java:552) > > The issue that that WSDL2Java's got a problem with specialAttrs, which > is an attribute group defined by the w3c. I'm importing the xml.xsd > schema where specialAttrs is defined. I assume that the DataHandler > and MimeMultipart warnings are just noise since I don't need > attachment support. > > When I previously generated code with Axis 1.1, this error did not > happen. Further, other validation tools think that the wsdl is fine. > > Rather than post my whole schema and wsdl, I've reproduced the problem > in a simple sample wsdl (appended below). > > As a test I removed line 30 of my wsdl (where I reference > xml:specialAttrs), then the code generates. That's not a valid work > around though because in the real world, this problem appears in an > external schema file. In any case, even when I hack the wsdl, the > generated code doesn't build, which is my second problem. > > It looks like when you're using document wrapped style and have more > than one out or inout parameters, Axis wants to wrap any outputted > class in a "holder" class. That makes sense. > > But in this case of my sample wsdl, the code generated passes a > org.apache.axis.holders.NMTokenHolder to the > AxisprobSOAPBindingImpl.problemMessage method. This causes build > errors because there is no NMTokenHolder class. There is only a > TokenHolder class. > > I suppose that I can manually edit the generated code to change the > undefined NMTokenHolder to TokenHolder classes. But it's bothersome > that Axis is generating code for classes that don't exist. > > Again, the problem wsdl can be found below. Also, I've posted a zip of > the wsdl and code generated here: > > http://homepage.mac.com/WebObjects/FileSharing.woa/wa/axis_1_3_problem > .z ip.zip?a=downloadFile&user=paceap&path=Sites/axis_1_3_problem.zip > > Any suggestions for solving these problems would be welcome. > > Best regards, > -- > Allen C
RE: 2 WSDL2Java problems moving from 1.1 to 1.3
Add activation.jar and j2ee.jar in your classpath. Thanks, Parikh, Pratik -Original Message- From: Allen Cronce [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 10:12 AM To: axis-user@ws.apache.org Subject: 2 WSDL2Java problems moving from 1.1 to 1.3 Hi all, I ran into a bug in Axis 1.1 where if you have a combination of in, out and inout parameters, Axis gets confused and screws up the array of parameters delivered to the xxxImpl.java code. As a result, there's a Java exception because the parameters don't match the method call signature. It looks like this bug is fixed in 1.3, so I'm trying to move to that version. But now with 1.3 I'm running into code generation problems. First, when I use the Axis 1.3 WSDL2Java to generate the server side classes, I get the following error: - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. Parsing XML file: axisprob.wsdl java.io.IOException: Type specialAttrs is referenced but not defined. at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTab le.java:665) at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:5 18) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:4 95) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361) at java.lang.Thread.run(Thread.java:552) The issue that that WSDL2Java's got a problem with specialAttrs, which is an attribute group defined by the w3c. I'm importing the xml.xsd schema where specialAttrs is defined. I assume that the DataHandler and MimeMultipart warnings are just noise since I don't need attachment support. When I previously generated code with Axis 1.1, this error did not happen. Further, other validation tools think that the wsdl is fine. Rather than post my whole schema and wsdl, I've reproduced the problem in a simple sample wsdl (appended below). As a test I removed line 30 of my wsdl (where I reference xml:specialAttrs), then the code generates. That's not a valid work around though because in the real world, this problem appears in an external schema file. In any case, even when I hack the wsdl, the generated code doesn't build, which is my second problem. It looks like when you're using document wrapped style and have more than one out or inout parameters, Axis wants to wrap any outputted class in a "holder" class. That makes sense. But in this case of my sample wsdl, the code generated passes a org.apache.axis.holders.NMTokenHolder to the AxisprobSOAPBindingImpl.problemMessage method. This causes build errors because there is no NMTokenHolder class. There is only a TokenHolder class. I suppose that I can manually edit the generated code to change the undefined NMTokenHolder to TokenHolder classes. But it's bothersome that Axis is generating code for classes that don't exist. Again, the problem wsdl can be found below. Also, I've posted a zip of the wsdl and code generated here: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/axis_1_3_problem.z ip.zip?a=downloadFile&user=paceap&path=Sites/axis_1_3_problem.zip Any suggestions for solving these problems would be welcome. Best regards, -- Allen Cronce --- http://schemas.xmlsoap.org/wsdl/http/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:wsdlns="axisprob.wsdl" xmlns:xsdns="axisprob.xsd"> http://www.w3.org/XML/1998/namespace"; schemaLocation="http://www.w3.org/2001/xml.xsd"/> http://www.w3.org/2001/XMLSchema"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> This is a type definition for generic text in XML. For maintenance reasons, it is preferable to use something like this rather than the built-in datatype string, unless you have an absolute requirement to use a simple datatype. This is a type definition for globally unique
RE: Question around BaseSerializerFactory
Title: Question around BaseSerializerFactory Can someone please help me on this. Thanks, Parikh, Pratik From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 5:08 PMTo: axis-user@ws.apache.orgSubject: Question around BaseSerializerFactory Hi Everyone, I have generated some code using wsdl2java, and the stub that it generate using axis 1.2 and the stub that it generated using 1.3 is different. 1.3 uses BaseSerializerFactory and the 1.2 does not. e.g. 1.2 generated code. qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "x_RoleClassPayeePolicyRelationship"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.X_RoleClassPayeePolicyRelationship.class; cachedSerClasses.add(cls); cachedSerFactories.add(simplesf); cachedDeserFactories.add(simpledf); 1.3 generate code qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "x_RoleClassPayeePolicyRelationship"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.X_RoleClassPayeePolicyRelationship.class; cachedSerClasses.add(cls); cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); My question is which one is right, and why is 1.3 throwing exception during runtime about it not find the creat method which I think is called in createFactory. Help is need. Parikh, Pratik CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
Question around BaseSerializerFactory
Title: Question around BaseSerializerFactory Hi Everyone, I have generated some code using wsdl2java, and the stub that it generate using axis 1.2 and the stub that it generated using 1.3 is different. 1.3 uses BaseSerializerFactory and the 1.2 does not. e.g. 1.2 generated code. qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "x_RoleClassPayeePolicyRelationship"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.X_RoleClassPayeePolicyRelationship.class; cachedSerClasses.add(cls); cachedSerFactories.add(simplesf); cachedDeserFactories.add(simpledf); 1.3 generate code qName = new javax.xml.namespace.QName("urn:hl7-org:v3", "x_RoleClassPayeePolicyRelationship"); cachedSerQNames.add(qName); cls = com.cerner.fsi.hl7.v3.X_RoleClassPayeePolicyRelationship.class; cachedSerClasses.add(cls); cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); My question is which one is right, and why is 1.3 throwing exception during runtime about it not find the creat method which I think is called in createFactory. Help is need. Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
org.apache.axis.encoding.ser.BaseDeserializerFactory - Exception:
java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: How to access and use Serializer independently?
Hi Uday, Can we use this to serialize and deserialize the object before sending over to the webservice or is the serialization/deserialization implement by axis. Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Uday Kamath [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 9:11 AMTo: axis-user@ws.apache.orgSubject: RE: How to access and use Serializer independently? There are many ways, i can tell you how i did it once, the serializable java object which is response of web service (wsdl2java generated from 1.2/1.3) can be passed on to XStream (http://xstream.codehaus.org/) as a Java Bean that generates XML from the Bean in a faster way. You cna give synonyms like below and have a great formatted XML back. public PurchaseOrderFusionService(String wsdlUrl) { this.wsdlURI=wsdlUrl; xstream.alias( "PurchaseOrder",examples.webservices.purchaseOrder.statelessSession.PurchaseOrder.class); xstream.alias( "Item",examples.webservices.purchaseOrder.statelessSession.Item.class); } public String[] findAll() throws Exception { PurchaseOrder[] orders = getPurchaseOrderService().getAllPurchaseOrders(); String[] results = new String[orders.length]; for(int i=0; i< results.length; i++){ results[i] = xstream.toXML(orders[i]); } return results; } Hope that gives you some solution -Uday From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 9:48 AMTo: axis-user@ws.apache.orgSubject: RE: How to access and use Serializer independently? Hi Paul, I would guess yes. You will have to write a handler for it. Thanks, Parikh, Pratik From: Paul Grillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 8:42 AMTo: axis-user@ws.apache.orgSubject: FW: How to access and use Serializer independently? Can’t believe that nobody has tried this. Let me reword it, and maybe somebody can give me a yes/no answer. Is it possible to populate an axis1.2 generated java binding object (from WSDL2Java) and generate XML to an outputstream? yes or no would be good. if yes, a general idea on how would be helpful I thank anybody that can help. From: Paul Grillo Sent: Monday, October 24, 2005 12:15 PMTo: axis-user@ws.apache.orgSubject: How to access and use Serializer independently? I’ve been playing with this for awhile, and there just “seems” to be a lot of coupling that makes it difficult to do this. Essentially I have a service running perfectly using the default serializer/deserializer for Axis 1.2 Now I would like to incorporate a REST interface on a few simple messages we support. Scenario. FooRequest and FooResponse are classes that work just fine. They have been generated by WSDLtoJava and we use them with our service. I now get a Post that contains parameters that allow me to create FooRequest from the httpRequest. We scrub it and do it properly. We then take FooRequest and pass it to our backend processor that knows how to return the FooResponse object. Normally this object is passed back to the Axis engine and it handles it for non-REST input. Now, all I really want to do is take FooResponse and use Axis Deserializer to generate XML or a DOM from which I can get to the XML so that I can write it back to the Web Client httpResponse. How do I do that? Is there not an easy way to use the getSerializer built into the generated objects and invoke it? If so, what is the magic sequence to do this? I’m hoping the answer is far shorter than the question. Thanks for any help -paul CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: How to access and use Serializer independently?
paul that is the same question I have, but seems like no one is answering anything for that question? Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com From: Paul Grillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 9:10 AMTo: axis-user@ws.apache.orgSubject: RE: How to access and use Serializer independently? Thanks for the hint. I am not intending to send this anywhere, it is not created in the context of any message. I know how to get at the XML when running a message through handlers. Are you suggesting that what I have to do is to invoke it in such a way that a handler is called, the XML is extracted and the invocation is then aborted? I was hoping that a call the generatedobject.getSerializer().doSomething could generate XML or DOM without utilizing the axis engine/handlers. From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 9:48 AMTo: axis-user@ws.apache.orgSubject: RE: How to access and use Serializer independently? Hi Paul, I would guess yes. You will have to write a handler for it. Thanks, Parikh, Pratik From: Paul Grillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 8:42 AMTo: axis-user@ws.apache.orgSubject: FW: How to access and use Serializer independently? Can’t believe that nobody has tried this. Let me reword it, and maybe somebody can give me a yes/no answer. Is it possible to populate an axis1.2 generated java binding object (from WSDL2Java) and generate XML to an outputstream? yes or no would be good. if yes, a general idea on how would be helpful I thank anybody that can help. From: Paul Grillo Sent: Monday, October 24, 2005 12:15 PMTo: axis-user@ws.apache.orgSubject: How to access and use Serializer independently? I’ve been playing with this for awhile, and there just “seems” to be a lot of coupling that makes it difficult to do this. Essentially I have a service running perfectly using the default serializer/deserializer for Axis 1.2 Now I would like to incorporate a REST interface on a few simple messages we support. Scenario. FooRequest and FooResponse are classes that work just fine. They have been generated by WSDLtoJava and we use them with our service. I now get a Post that contains parameters that allow me to create FooRequest from the httpRequest. We scrub it and do it properly. We then take FooRequest and pass it to our backend processor that knows how to return the FooResponse object. Normally this object is passed back to the Axis engine and it handles it for non-REST input. Now, all I really want to do is take FooResponse and use Axis Deserializer to generate XML or a DOM from which I can get to the XML so that I can write it back to the Web Client httpResponse. How do I do that? Is there not an easy way to use the getSerializer built into the generated objects and invoke it? If so, what is the magic sequence to do this? I’m hoping the answer is far shorter than the question. Thanks for any help -paul CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
RE: How to access and use Serializer independently?
Hi Paul, I would guess yes. You will have to write a handler for it. Thanks, Parikh, Pratik From: Paul Grillo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 8:42 AMTo: axis-user@ws.apache.orgSubject: FW: How to access and use Serializer independently? Can’t believe that nobody has tried this. Let me reword it, and maybe somebody can give me a yes/no answer. Is it possible to populate an axis1.2 generated java binding object (from WSDL2Java) and generate XML to an outputstream? yes or no would be good. if yes, a general idea on how would be helpful I thank anybody that can help. From: Paul Grillo Sent: Monday, October 24, 2005 12:15 PMTo: axis-user@ws.apache.orgSubject: How to access and use Serializer independently? I’ve been playing with this for awhile, and there just “seems” to be a lot of coupling that makes it difficult to do this. Essentially I have a service running perfectly using the default serializer/deserializer for Axis 1.2 Now I would like to incorporate a REST interface on a few simple messages we support. Scenario. FooRequest and FooResponse are classes that work just fine. They have been generated by WSDLtoJava and we use them with our service. I now get a Post that contains parameters that allow me to create FooRequest from the httpRequest. We scrub it and do it properly. We then take FooRequest and pass it to our backend processor that knows how to return the FooResponse object. Normally this object is passed back to the Axis engine and it handles it for non-REST input. Now, all I really want to do is take FooResponse and use Axis Deserializer to generate XML or a DOM from which I can get to the XML so that I can write it back to the Web Client httpResponse. How do I do that? Is there not an easy way to use the getSerializer built into the generated objects and invoke it? If so, what is the magic sequence to do this? I’m hoping the answer is far shorter than the question. Thanks for any help -paul CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --
RE: How does Serialization and deserialization work in axis
Title: How does Serialization and deserialization work in axis Hi Everyone, Can anyone answer this for me? Parikh, Pratik From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 25, 2005 6:57 PMTo: axis-user@ws.apache.orgSubject: How does Serialization and deserialization work in axis Hi Everyone, I am kind of new to axis, and was wondering the implementation details about Serialization and deserialization in axis. Parikh, Pratik CONFIDENTIALITY NOTICEThis message and any included attachmentsare from Cerner Corporation and are intendedonly for the addressee. The informationcontained in this message is confidential andmay constitute inside or non-public informationunder international, federal, or statesecurities laws. Unauthorized forwarding,printing, copying, distribution, or use of suchinformation is strictly prohibited and may beunlawful. If you are not the addressee, pleasepromptly delete this message and notify thesender of the delivery error by e-mail or youmay call Cerner's corporate offices in KansasCity, Missouri, U.S.A at (+1) (816)221-1024. --
How does Serialization and deserialization work in axis
Title: How does Serialization and deserialization work in axis Hi Everyone, I am kind of new to axis, and was wondering the implementation details about Serialization and deserialization in axis. Parikh, Pratik CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --