wsdl2java --all not generating all classes

2008-11-12 Thread Neil Aggarwal
Hello:

I am using Axis 1.4 to try to generate all the classes
for a WSDL, but certain classes are not being generated
even though I specified the -all parameter to wsdl2java.

Here is the call to wsdl2java:
%JAVA% org.apache.axis.wsdl.WSDL2Java -v --all --timeout -1 -o %SRC_DIR%
https://webservices.netsuite.com/wsdl/v2008_2_0/netsuite.wsdl

If I view the https://webservices.netsuite.com/wsdl/v2008_2_0/netsuite.wsdl
I see it includes
https://webservices.netsuite.com/xsd/platform/v2008_2_0/core.xsd

If I look at the core XSD, one of the types is SearchMultiSelectField
but, when I go to the com\netsuite\webservices\platform\core_2008_2
directory, I don't see SearchMultiSelectField.java

There are others, but not that one.

Any ideas why this did not generate?

Thanks, 
Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 


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



RE: Does Axis use 128 bit encryption?

2008-02-19 Thread Neil Aggarwal
Nandana:

I am using Axis 1.4 and it looks like rampart
is for Axis2.

Do I need to use Axis 2?

Thanks,
Neil


--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

 -Original Message-
 From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 18, 2008 2:38 AM
 To: axis-user@ws.apache.org
 Subject: Re: Does Axis use 128 bit encryption?
 
 Hi Niel,
How did you configure the Rampart in the client side ?
 
 thanks,
 /nandana
 
 On Feb 15, 2008 8:55 PM, Neil Aggarwal 
 [EMAIL PROTECTED] wrote:
  Hello:
 
  I am trying to use a web service published by Sage
  Payments.
 
  They are rejecting the transaction because it says
  I am not using 128 bit encryption.
 
  How do I tell Axis to use 128 bit encryption?
 
  The url to the web service is:
  https://www.sagepayments.net/web_services/wsVault/wsVaultBankcard
 
  I went to that url in IE and it says the SSL certificate
  is 128 bit.
 
  Thanks,
  Neil
 
 
  --
  Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
  Eliminate junk email and reclaim your inbox.
  Visit http://www.spammilter.com for details.
 
 
  
 -
  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]



RE: Does Axis use 128 bit encryption?

2008-02-18 Thread Neil Aggarwal
Rampart?  What is that?


--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

 -Original Message-
 From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 18, 2008 2:38 AM
 To: axis-user@ws.apache.org
 Subject: Re: Does Axis use 128 bit encryption?
 
 Hi Niel,
How did you configure the Rampart in the client side ?
 
 thanks,
 /nandana
 
 On Feb 15, 2008 8:55 PM, Neil Aggarwal 
 [EMAIL PROTECTED] wrote:
  Hello:
 
  I am trying to use a web service published by Sage
  Payments.
 
  They are rejecting the transaction because it says
  I am not using 128 bit encryption.
 
  How do I tell Axis to use 128 bit encryption?
 
  The url to the web service is:
  https://www.sagepayments.net/web_services/wsVault/wsVaultBankcard
 
  I went to that url in IE and it says the SSL certificate
  is 128 bit.
 
  Thanks,
  Neil
 
 
  --
  Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
  Eliminate junk email and reclaim your inbox.
  Visit http://www.spammilter.com for details.
 
 
  
 -
  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]



Does Axis use 128 bit encryption?

2008-02-15 Thread Neil Aggarwal
Hello:

I am trying to use a web service published by Sage
Payments.

They are rejecting the transaction because it says
I am not using 128 bit encryption.

How do I tell Axis to use 128 bit encryption?

The url to the web service is:
https://www.sagepayments.net/web_services/wsVault/wsVaultBankcard

I went to that url in IE and it says the SSL certificate
is 128 bit.

Thanks,
Neil


--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


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



RE: Does Axis use 128 bit encryption?

2008-02-15 Thread Neil Aggarwal
Paul:

I downloaded and installed the JCE Unlimited Strength
Jurisdiction files and I am still getting the same error.

Is there a way to log what security level Axis is using?

Thanks,
Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

 You may need to update your JDK to support the full strength
 encryption
   Java Cryptography Extension (JCE) Unlimited Strength 
 Jurisdiction
 Policy Files 6

   I am trying to use a web service published by Sage
   Payments.
 
   They are rejecting the transaction because it says
   I am not using 128 bit encryption.
 
   How do I tell Axis to use 128 bit encryption?
 
   The url to the web service is:
   https://www.sagepayments.net/web_services/wsVault/wsVaultBankcard
 
   I went to that url in IE and it says the SSL certificate
   is 128 bit.


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



RE: Axis using more than 256MB for a 9MB file

2006-09-15 Thread Neil Aggarwal
Hello:

Does Axis2 solve these problems?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

 -Original Message-
 From: Neil Aggarwal [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 13, 2006 4:43 PM
 To: axis-user@ws.apache.org
 Subject: Axis using more than 256MB for a 9MB file
 
 Hello:
 
 I have a web service deployed using Axis 1.4
 
 In that service, I have a method that accepts a 
 String containing an XML document.
 
 When I try to upload a 9MB XML file into my service,
 Axis seems to be taking up a HUGE amount of memory.
 
 If I set the JVM to 256MB of heap, it runs out of
 memory and throws an OutOfMemoryException.
 
 If I set the JVM to 512MB of heap, I get the file
 just fine.
 
 The problem occurs *before* my web service method 
 is even invoked.
 
 The service is running on Tomcat on Windows.
 
 Any ideas why Axis would consume so much memory?
 
 Thanks,
   Neil
 
 
 --
 Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
 FREE! Eliminate junk email and reclaim your inbox.
 Visit http://www.spammilter.com for details.
 
 
 -
 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 using more than 256MB for a 9MB file

2006-09-13 Thread Neil Aggarwal
Hello:

I have a web service deployed using Axis 1.4

In that service, I have a method that accepts a 
String containing an XML document.

When I try to upload a 9MB XML file into my service,
Axis seems to be taking up a HUGE amount of memory.

If I set the JVM to 256MB of heap, it runs out of
memory and throws an OutOfMemoryException.

If I set the JVM to 512MB of heap, I get the file
just fine.

The problem occurs *before* my web service method 
is even invoked.

The service is running on Tomcat on Windows.

Any ideas why Axis would consume so much memory?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


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



[Axis 1.4] Authentication handler being called multiple times

2006-08-01 Thread Neil Aggarwal
Hello:

I have this wsdd for my web service:

deployment xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
 globalConfiguration 
requestFlow
handler name=Authentication
type=java:handlers.AuthenticationHandler/
/requestFlow
 /globalConfiguration 
 
 service name=FileUpload provider=java:RPC
  parameter name=className value=ws.FileUpload/
  parameter name=allowedMethods value=*/
 /service

/deployment

And this undeployment wsdd:

undeployment xmlns=http://xml.apache.org/axis/wsdd/;
 service name=FileUpload/
/undeployment

For some reason, when I invoked a method on the server, the authentication
handler 
was being called twice.

I tried undeploying the service and the redeploying it.  After that,
the auth handler was being called three times.

I stopped Tomcat, deleted the server-config.wsdd from the WEB-INF directory,
started Tomcat, started tomcat, and deployed my service again.

Now the auth handler is being called four times!

I am using Tomcat on Windows with Axis 1.4.

Any ideas?

Thanks
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


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



RE: [Axis 1.4] Username and password are null from C# client

2006-07-09 Thread Neil Aggarwal
Martin:

Apparently, I was throwing an AxisFault that returned a
500 error code instead of a 401 error.

Here is a bug I found that was very helpful:
http://issues.apache.org/bugzilla/show_bug.cgi?id=11763

Thanks,
Neil
 

 -Original Message-
 From: Martin Gainty [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, July 09, 2006 8:34 AM
 To: axis-user@ws.apache.org
 Subject: Re: [Axis 1.4] Username and password are null from C# client
 
 Good Morning
 
 At First Glance I dont see a style declaration e.g. RPC or DocLiteral?
 Also I dont see a Datatype declaration for either username or 
 password (assume xsd:string) We could verify both items if 
 you could display the wsdl for us
 
 Anyone else?
 Martin --
 *
 This email message and any files transmitted with it contain 
 confidential information intended only for the person(s) to 
 whom this email message is addressed.  If you have received 
 this email message in error, please notify the sender 
 immediately by telephone or email and destroy the original 
 message without making a copy.  Thank you.
 
 
 
 - Original Message -
 From: Neil Aggarwal [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Saturday, July 08, 2006 11:12 PM
 Subject: [Axis 1.4] Username and password are null from C# client
 
 
  Hello:
  
  I have a web service deployed on Axis 1.4 running on Tomcat.
  
  I have set up an AuthenticationHandler in the request flow 
 to perform user
  name and password checking.  It extends 
 SimpleAuthenticationHandler and
  pulls the username and password from the MessageContext object.
  
  If I use a Java client with this code:
  
// Locate the service
FileUpload_PortType fileUpload = new
  FileUploadServiceLocator().getFileUpload();
((FileUploadSoapBindingStub)fileUpload).setUsername(USER);
((FileUploadSoapBindingStub)fileUpload).setPassword(PASS);
  
  Everything works fine.  I get the user name and password 
 and the service
  continues.
  
  But, using this C# code:
  
 NetworkCredential credential = new NetworkCredential(USER, PASS);
 FileUploadService service = new FileUploadService();
 service.Credentials = credential;
 service.PreAuthenticate = true;
  
  When I invoke the service, the AuthenticationHandler on the 
 server gets null
  for the user name and password.
  
  Is this the correct C# code to use?  
  
  Any ideas?
  
  Thanks,
  Neil
  
  
  --
  Neil Aggarwal, JAMM Consulting, (214)986-3533, 
 www.JAMMConsulting.com
  FREE! Valuable info on how your business can reduce 
 operating costs by
  17% or more in 6 months or less! 
 http://newsletter.JAMMConsulting.com 
  
  
  
 -
  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] Username and password are null from C# client

2006-07-08 Thread Neil Aggarwal
Hello:

I have a web service deployed on Axis 1.4 running on Tomcat.

I have set up an AuthenticationHandler in the request flow to perform user
name and password checking.  It extends SimpleAuthenticationHandler and
pulls the username and password from the MessageContext object.

If I use a Java client with this code:

   // Locate the service
   FileUpload_PortType fileUpload = new
FileUploadServiceLocator().getFileUpload();
   ((FileUploadSoapBindingStub)fileUpload).setUsername(USER);
   ((FileUploadSoapBindingStub)fileUpload).setPassword(PASS);

Everything works fine.  I get the user name and password and the service
continues.

But, using this C# code:

NetworkCredential credential = new NetworkCredential(USER, PASS);
FileUploadService service = new FileUploadService();
service.Credentials = credential;
service.PreAuthenticate = true;

When I invoke the service, the AuthenticationHandler on the server gets null
for the user name and password.

Is this the correct C# code to use?  

Any ideas?

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (214)986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com 


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



[Axis 1.4] Username and password not getting to server from C# client

2006-07-08 Thread Neil Aggarwal
Hello:

I have a web service deployed on Axis 1.4 running on Tomcat.

I have set up an AuthenticationHandler in the request flow
to perform user name and password checking.  It extends 
SimpleAuthenticationHandler and pulls the username and password
from the MessageContext object.

If I use a Java client with this code:

   // Locate the service
   FileUpload_PortType fileUpload = new
FileUploadServiceLocator().getFileUpload();
   ((FileUploadSoapBindingStub)fileUpload).setUsername(USER);
   ((FileUploadSoapBindingStub)fileUpload).setPassword(PASS);

Everything works fine.  I get the user name and password and the
service continues.

But, using this C# code:

NetworkCredential credential = new NetworkCredential(USER, PASS);
FileUploadService service = new FileUploadService();
service.Credentials = credential;
service.PreAuthenticate = true;

When I invoke the service, the AuthenticationHandler on the server gets
null for the user name and password.

Is this the correct C# code to use?  

Any ideas?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (214)986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com 


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



RE: [Axis 1.4] Eclipse does not like WSDL

2006-06-19 Thread Neil Aggarwal



Annie:

This WSDL was generated from Axis 1.4, not by me.

Why would Axis generate bad code in the WSDL?

 Neil

--Neil Aggarwal, JAMM Consulting, (214)986-3533, 
www.JAMMConsulting.comFREE! Valuable info on how your business can reduce 
operating costs by17% or more in 6 months or less! http://newsletter.JAMMConsulting.com 




From: Anne Thomas Manes 
[mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 7:44 
PMTo: axis-user@ws.apache.orgSubject: Re: [Axis 1.4] 
Eclipse does not like WSDL
There are a couple of minor errors with the WSDL.1- you never 
reference the "http://lang.java" namespace, 
therefore there's no need to declare it or import it. You don't specify a 
schemaLocation for the namespace, hence you get the schema_reference error. I'd 
remove it. 2- Fault messages should always be defined as literal 
elements rather than encoded types. But Axis is forgiving and manages to encode 
it for you anyway.I don't understand why Eclipse is complaining about 
the SAXException type, because it appears to be defined properly, although 
perhaps it's objecting to the fact that you didn't provide a schemaLocation for 
the " http://schemas.xmlsoap.org/soap/encoding/" 
namespace.I strongly encourage you to not use SOAP encoding, though. I 
suggest you switch to wrapped document/literal. Anne 
On 6/16/06, Neil 
Aggarwal [EMAIL PROTECTED] 
wrote:
 
  Please post the WSDLI am attaching it here.--Neil 
  Aggarwal, JAMM Consulting, (214)986-3533, www.JAMMConsulting.comFREE! 
  Valuable info on how your business can reduce operating costs by 17% or 
  more in 6 months or less! http://newsletter.JAMMConsulting.com-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]


Re: [Axis 1.4] Eclipse does not like WSDL

2006-06-16 Thread Neil Aggarwal
 Please post the WSDL

I am attaching it here.


--
Neil Aggarwal, JAMM Consulting, (214)986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com


FileUpload.wsdl
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

No serializer found for class org.apache.axis.attachments.OctetStream in registry org.apache.axis.encoding.TypeMappingDelegate

2006-04-22 Thread Neil Aggarwal
Hello:

When I submit an XML feed to the Amazon Web services using Axis 1.3, 
I get this error:

Caused by: java.io.IOException: No serializer found for class
org.apache.axis.attachments.OctetStream in registry
[EMAIL PROTECTED]
at
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationC
ontext.java:1505)
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.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

Can someone help me understand what this means?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com