Error Parsing JSP page

2008-06-05 Thread Chung Foo Shyn
Hi All,

 

Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some
problems:

 

1)Failed to parse the JSP pages for my web service when accessing the page.
I  came across this solution 

http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-parse
-error-2418386.html

but I can't seems to find the antlr.jar file from my axis lib folder. Anyone
face the same problem before?

 

2) Also when I start up my services the servlet throws a NullPointer
Exception from the Logging part as well. Is it due to the log4j package?

 

Any feedbacks or suggestions are welcomed.

 

Thanx

FooShyn



RE: Error Parsing JSP page

2008-06-05 Thread Chung Foo Shyn
Hi,

 

I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after
getting your mail and it did get rid of the antlr problem,  perhaps you can
have a try. However when I try to engage the test service, an exception was
thrown as below:

 

java.lang.NoClassDefFoundError

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

 

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:39)

 

Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4
and it worked perfectly. Anyone out there have any successful installation
on WebLogic with Axis2?

 

BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6

 

Thanx

FooShyn

 

From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2008 7:29 PM
To: axis-user@ws.apache.org
Subject: RE: Error Parsing JSP page

 

Hi

 

Removing antlr.jar and jalopy.jar did solve the JSP Parse error for
AXIS2-1.3. 

But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6???

 

Any other suggestions?

Thanks

Meena

  _  

From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] 
Sent: 05 June 2008 11:55
To: axis-user@ws.apache.org
Subject: Error Parsing JSP page

 

Hi All,

 

Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some
problems:

 

1)Failed to parse the JSP pages for my web service when accessing the page.
I  came across this solution 

http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-parse
-error-2418386.html

but I can't seems to find the antlr.jar file from my axis lib folder. Anyone
face the same problem before?

 

2) Also when I start up my services the servlet throws a NullPointer
Exception from the Logging part as well. Is it due to the log4j package?

 

Any feedbacks or suggestions are welcomed.

 

Thanx

FooShyn

--
 
This is a confidential communication and is intended only for the addressee
indicated in the message (or duly authorised to be responsible for the
delivery of the message to such  person). You are specifically prohibited
from copying this message or delivering the same, or any part thereof, to
any other person, whomsoever or howsoever, unless you receive written
authorisation from us to do. 
 
If you are anyone other than the intended addressee, or person duly
authorised and responsible for the delivery of this message to the intended
addressee, you should destroy this message and notify us immediately. 
 
Please note that we accept no responsibility whatsoever in the event that
this message or any other email message or any part thereof becomes known or
is communicated to anyone other than the intended recipient or other person
authorised in writing by us to receive it, howsoever arising and disclaim
all liability for any losses or damage which may be sustained by any person
as a result thereof.
 
permanent tsb is a trading name of Irish Life  Permanent plc which is
regulated by the Financial Regulator and is a tied insurance agent for Irish
Life Assurance plc.
 
Irish Life  Permanent plc is a limited liability company registered in
Dublin under No. 222332. The company's registered office is: Irish Life
Centre, Lower Abbey Street, Dublin 1.
 
 

==


Getting error when trying to install axis2 to Tomcat 4.1

2008-06-04 Thread Chung Foo Shyn
Hi guys,

 

I'm trying to install an axis2 app into Tomcat 4.1 with the binary source as
mentioned in the installation instruction. However I get the following error
when I try to startup the app:

 

org.apache.commons.logging.LogConfigurationException: User-specified log
class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is
not useable.

at
org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)

at
org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)

...

 

I'm using Tomcat 4.1 and JDK 1.4

 

Anyone facing the same problem before?

 

Thanx

FooShyn

 



Re: Axis 1.4 - (405) Method Not Allowed

2007-10-18 Thread foo shyn

Hi guys,

Apologies to u guys first.

After reading some of your post, I found that it would be very unlikely 
for the vendor to have POST turn off (although the return messages 
suggested this) thus i went on to check the URL that i called, and it 
seems that it is the URL problem! After changing that, the method worked 
like charm!


Just wonder why the server gives me a 405 instead of a 400 error

Thanx
FooShyn

Walker, Jeff wrote:

I apologize.
I re-read your post below, and it seems that the HTTP POST request is
not allowed. The list allowed by them seems to be: OPTIONS, TRACE, GET
and HEAD. (I was working from the assumption that the actual method on
the interface was turned off. You can do this in Axis and probably in
Microsoft).

Anyway, if they have indeed turned off all POST requests for this
service, then I would ask them how do they expect clients to call their
web service, since a soap/wsdl based web service be default will use
POST requests? Also ask them to supply to you a basic client they use in
development to test the service.
It sounds like a very non-standard web service.
-jeff





-Original Message-
From: foo shyn [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 18, 2007 12:25 AM

To: axis-user@ws.apache.org
Subject: Re: Axis 1.4 - (405) Method Not Allowed

Hmm i'm afraid that might not be possible. Wonder why Axis keeps the GET

method out anyway.. any particular reason?

Tried calling other method...same problem...

Thanx
FooShyn

Walker, Jeff wrote:
  

If they have turned off access to a certain method, then you simply
cannot call it and there is nothing you can do except ask them if it


is
  

truly turned off and why. All soap web service calls happen using POST
not GET. (Except the famous http://web_service_name?wsdl url which


is
  

a GET). I would suggest that you call any of the other methods found


in
  

their wsdl, to make certain you are calling the service correctly.
I think the answer to your problem lies with them.
-jeff



-Original Message-
From: foo shyn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 9:16 PM

To: axis-user@ws.apache.org
Subject: Axis 1.4 - (405) Method Not Allowed

Hi guys,

I'm new to the list, so pardon me if my question sounds dumb.

I'm trying to connect to a third party web services (which is

developed 
  

using microsoft tools) and i had used Axis 1.4 components to create my



  

client. I got the stub generated and run it in my own servlet. However



  
when i try to call the web services i got a (405)Method Not Allowed 
error from the web.


I'm thinking of the possibility of the method that i use is not allow.



  

Since Axis is defaulted to process its request in Post method, i'm not



  

sure whether i can alter that. Does anyone have any idea on how to do
this?

Here's a portion of my debug log from Axis:

16 Oct 2007 20:01:17,859 %- HTTP/1.1 405 Method not allowed
16 Oct 2007 20:01:17,859 %- Server Microsoft-IIS/5.0
16 Oct 2007 20:01:17,859 %- Date Tue, 16 Oct 2007 12:21:32 GMT
16 Oct 2007 20:01:17,875 %- Allow OPTIONS, TRACE, GET, HEAD
16 Oct 2007 20:01:17,875 %- Content-Length 3923
16 Oct 2007 20:01:17,875 %- Content-Type text/html
16 Oct 2007 20:01:17,890 %- 
org.apache.axis.i18n.resource::handleGetObject(return01)

16 Oct 2007 20:01:17,890 %- (405)Method not allowed
16 Oct 2007 20:01:17,906 %- Enter: SOAPPart ctor(FORM_FAULT)
16 Oct 2007 20:01:17,906 %- 
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)

16 Oct 2007 20:01:17,906 %- Setting current message form to:

FORM_FAULT 
  

(currentMessage is now org.apache.axis.AxisFault)
16 Oct 2007 20:01:17,906 %- Exit: SOAPPart ctor()
16 Oct 2007 20:01:17,906 %- 
org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)

16 Oct 2007 20:01:17,906 %- NSPush (32)
16 Oct 2007 20:01:17,921 %- 
org.apache.axis.i18n.resource::handleGetObject(empty00)

16 Oct 2007 20:01:17,921 %- NSPop (empty)
16 Oct 2007 20:01:17,921 %- NSPush (32)
16 Oct 2007 20:01:17,937 %- 
org.apache.axis.i18n.resource::handleGetObject(empty00)

16 Oct 2007 20:01:17,937 %- NSPop (empty)
16 Oct 2007 20:01:17,906 %- Mapping Exception to AxisFault

Any suggestion or idea are welcome.

Thanx
FooShyn


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

Namespace problem or data type problem?

2007-10-17 Thread foo shyn

Hi guys,

I'd face another issue while trying to connect to the third party web 
services using Axis 1.4 Client.


I have a few parameters that i need to pass over as short, from the SOAP 
envelope that i get, i find that the message is send through this format:


ParamName href=#id0/

where the href refers to the multiRef tag at the bottom

multiRef id=id0 soapenc:root=0 
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
xsi:type=xsd:short 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;123/multiRef


Is it possible to configure my client so that the message is sent in the

ParamName xsi:type=xsd:short123/ParamName

format?

Thanx
FooShyn



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SOAP 1.2 support

2007-10-17 Thread foo shyn

Hi,

Personally i found that for SOAP 1.2 Axis2 is a much better choice... i 
can't use it because my vendors needs RPC...argh...


Thanx
FooShyn

Kasper Frederiksen wrote:

What version of the SOAP protocol does the current version (1.4) of
Axis implement?

I am using a system with Axis 1.1 installed, does this support the
1.2 version of the SOAP protocol?

/thanks
Kasper Frederiksen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis 1.4 - (405) Method Not Allowed

2007-10-17 Thread foo shyn
Hmm i'm afraid that might not be possible. Wonder why Axis keeps the GET 
method out anyway.. any particular reason?


Tried calling other method...same problem...

Thanx
FooShyn

Walker, Jeff wrote:

If they have turned off access to a certain method, then you simply
cannot call it and there is nothing you can do except ask them if it is
truly turned off and why. All soap web service calls happen using POST
not GET. (Except the famous http://web_service_name?wsdl url which is
a GET). I would suggest that you call any of the other methods found in
their wsdl, to make certain you are calling the service correctly.
I think the answer to your problem lies with them.
-jeff



-Original Message-
From: foo shyn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 9:16 PM

To: axis-user@ws.apache.org
Subject: Axis 1.4 - (405) Method Not Allowed

Hi guys,

I'm new to the list, so pardon me if my question sounds dumb.

I'm trying to connect to a third party web services (which is developed 
using microsoft tools) and i had used Axis 1.4 components to create my 
client. I got the stub generated and run it in my own servlet. However 
when i try to call the web services i got a (405)Method Not Allowed 
error from the web.


I'm thinking of the possibility of the method that i use is not allow. 
Since Axis is defaulted to process its request in Post method, i'm not 
sure whether i can alter that. Does anyone have any idea on how to do

this?

Here's a portion of my debug log from Axis:

16 Oct 2007 20:01:17,859 %- HTTP/1.1 405 Method not allowed
16 Oct 2007 20:01:17,859 %- Server Microsoft-IIS/5.0
16 Oct 2007 20:01:17,859 %- Date Tue, 16 Oct 2007 12:21:32 GMT
16 Oct 2007 20:01:17,875 %- Allow OPTIONS, TRACE, GET, HEAD
16 Oct 2007 20:01:17,875 %- Content-Length 3923
16 Oct 2007 20:01:17,875 %- Content-Type text/html
16 Oct 2007 20:01:17,890 %- 
org.apache.axis.i18n.resource::handleGetObject(return01)

16 Oct 2007 20:01:17,890 %- (405)Method not allowed
16 Oct 2007 20:01:17,906 %- Enter: SOAPPart ctor(FORM_FAULT)
16 Oct 2007 20:01:17,906 %- 
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
16 Oct 2007 20:01:17,906 %- Setting current message form to: FORM_FAULT 
(currentMessage is now org.apache.axis.AxisFault)

16 Oct 2007 20:01:17,906 %- Exit: SOAPPart ctor()
16 Oct 2007 20:01:17,906 %- 
org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)

16 Oct 2007 20:01:17,906 %- NSPush (32)
16 Oct 2007 20:01:17,921 %- 
org.apache.axis.i18n.resource::handleGetObject(empty00)

16 Oct 2007 20:01:17,921 %- NSPop (empty)
16 Oct 2007 20:01:17,921 %- NSPush (32)
16 Oct 2007 20:01:17,937 %- 
org.apache.axis.i18n.resource::handleGetObject(empty00)

16 Oct 2007 20:01:17,937 %- NSPop (empty)
16 Oct 2007 20:01:17,906 %- Mapping Exception to AxisFault

Any suggestion or idea are welcome.

Thanx
FooShyn


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis 1.4 - (405) Method Not Allowed

2007-10-16 Thread foo shyn

Hi guys,

I'm new to the list, so pardon me if my question sounds dumb.

I'm trying to connect to a third party web services (which is developed 
using microsoft tools) and i had used Axis 1.4 components to create my 
client. I got the stub generated and run it in my own servlet. However 
when i try to call the web services i got a (405)Method Not Allowed 
error from the web.


I'm thinking of the possibility of the method that i use is not allow. 
Since Axis is defaulted to process its request in Post method, i'm not 
sure whether i can alter that. Does anyone have any idea on how to do this?


Here's a portion of my debug log from Axis:

16 Oct 2007 20:01:17,859 %- HTTP/1.1 405 Method not allowed
16 Oct 2007 20:01:17,859 %- Server Microsoft-IIS/5.0
16 Oct 2007 20:01:17,859 %- Date Tue, 16 Oct 2007 12:21:32 GMT
16 Oct 2007 20:01:17,875 %- Allow OPTIONS, TRACE, GET, HEAD
16 Oct 2007 20:01:17,875 %- Content-Length 3923
16 Oct 2007 20:01:17,875 %- Content-Type text/html
16 Oct 2007 20:01:17,890 %- 
org.apache.axis.i18n.resource::handleGetObject(return01)

16 Oct 2007 20:01:17,890 %- (405)Method not allowed
16 Oct 2007 20:01:17,906 %- Enter: SOAPPart ctor(FORM_FAULT)
16 Oct 2007 20:01:17,906 %- 
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
16 Oct 2007 20:01:17,906 %- Setting current message form to: FORM_FAULT 
(currentMessage is now org.apache.axis.AxisFault)

16 Oct 2007 20:01:17,906 %- Exit: SOAPPart ctor()
16 Oct 2007 20:01:17,906 %- 
org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)

16 Oct 2007 20:01:17,906 %- NSPush (32)
16 Oct 2007 20:01:17,921 %- 
org.apache.axis.i18n.resource::handleGetObject(empty00)

16 Oct 2007 20:01:17,921 %- NSPop (empty)
16 Oct 2007 20:01:17,921 %- NSPush (32)
16 Oct 2007 20:01:17,937 %- 
org.apache.axis.i18n.resource::handleGetObject(empty00)

16 Oct 2007 20:01:17,937 %- NSPop (empty)
16 Oct 2007 20:01:17,906 %- Mapping Exception to AxisFault

Any suggestion or idea are welcome.

Thanx
FooShyn


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis 1.4 - (405) Method Not Allowed

2007-10-16 Thread foo shyn

Hi,

Ya i asked and they told me that they don't see any log there, thus i 
only can rely on the information i get from my own log.


Headache.

Thanx
FooShyn

M N wrote:

can u ask the other party if they see any error traces in their log?

*/foo shyn [EMAIL PROTECTED]/* wrote:

Hi guys,

I'm new to the list, so pardon me if my question sounds dumb.

I'm trying to connect to a third party web services (which is
developed
using microsoft tools) and i had used Axis 1.4 components to
create my
client. I got the stub generated and run it in my own servlet.
However
when i try to call the web services i got a (405)Method Not Allowed
error from the web.

I'm thinking of the possibility of the method that i use is not
allow.
Since Axis is defaulted to process its request in Post method, i'm
not
sure whether i can alter that. Does anyone have any idea on how to
do this?

Here's a portion of my debug log from Axis:

16 Oct 2007 20:01:17,859 %- HTTP/1.1 405 Method not allowed
16 Oct 2007 20:01:17,859 %- Server Microsoft-IIS/5.0
16 Oct 2007 20:01:17,859 %- Date Tue, 16 Oct 2007 12:21:32 GMT
16 Oct 2007 20:01:17,875 %- Allow OPTIONS, TRACE, GET, HEAD
16 Oct 2007 20:01:17,875 %- Content-Length 3923
16 Oct 2007 20:01:17,875 %- Content-Type text/html
16 Oct 2007 20:01:17,890 %-
org.apache.axis.i18n.resource::handleGetObject(return01)
16 Oct 2007 20:01:17,890 %- (405)Method not allowed
16 Oct 2007 20:01:17,906 %- Enter: SOAPPart ctor(FORM_FAULT)
16 Oct 2007 20:01:17,906 %-
org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
16 Oct 2007 20:01:17,906 %- Setting current message form to:
FORM_FAULT
(currentMessage is now org.apache.axis.AxisFault)
16 Oct 2007 20:01:17,906 %- Exit: SOAPPart ctor()
16 Oct 2007 20:01:17,906 %-
org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
16 Oct 2007 20:01:17,906 %- NSPush (32)
16 Oct 2007 20:01:17,921 %-
org.apache.axis.i18n.resource::handleGetObject(empty00)
16 Oct 2007 20:01:17,921 %- NSPop (empty)
16 Oct 2007 20:01:17,921 %- NSPush (32)
16 Oct 2007 20:01:17,937 %-
org.apache.axis.i18n.resource::handleGetObject(empty00)
16 Oct 2007 20:01:17,937 %- NSPop (empty)
16 Oct 2007 20:01:17,906 %- Mapping Exception to AxisFault

Any suggestion or idea are welcome.

Thanx
FooShyn


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Pinpoint customers 
http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226cmp=Yahooctv=AprNIs=Ys2=EMb=50who 
are looking for what you sell.



No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 10/16/2007 2:14 PM
  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]