WSDL element restrictions

2008-02-24 Thread David Bunzli
Hi, Where does Axis2 enforce WSDL element restrictions? For example, if you wish a string element to have a minLength of 1 and maxLength of 3, are requests rejected by Schema validation if they don't conform? Or are these restrictions in the generated classes from Wsdl2Java? Regards, David

how to map an exceptio to a soap fault with fault code soapenv:Client

2008-02-24 Thread Jinyuan Zhou
Hi, There is an example in AXIS2 distribution where some fault message is defined in wsdl and the wsdl2java converted them in the some exception. But the soap fault created all have Server as the fault code. I wonder if there is some configuration point that I can controle the fault code of the re

Re: SCT

2008-02-24 Thread Hardev Sian
Hi Ruchith, Please ignore my last email, I was just doing something really silly. I have managed to send a request to the STS service but I get a "Unsupported WS-SecureConversation version" response back, I think I shoul be able to work that out. Regards, Hardev Hardev Sian <

Re: wsdl2code problem

2008-02-24 Thread Jinyuan Zhou
Don't you have to repeat the definstions of the base type in the new type that is being defined by extension? Jack On Sun, Feb 24, 2008 at 6:19 AM, Begun, Yana <[EMAIL PROTECTED]> wrote: > > > Hi all, > > In my wsdl I use genericResponse complex type as a base type to all > responses. Everythin

wsdl2code problem

2008-02-24 Thread Begun, Yana
Hi all, In my wsdl I use genericResponse complex type as a base type to all responses. Everything is fine, but response I receive from the SOAP server is not valid. Type attribute is added to the response. What's wrong and how to change? Thanks, Yana wsdl:

Re: SCT

2008-02-24 Thread Hardev Sian
Hi Ruchith, I used the config files from http://wso2.org/repos/wso2/trunk/wsas/java/modules/samples/sts-sample/conf/ and copied the sts.policy.xml to services.xml and try and run the STS service but I get an "invalid services.xml". [java] org.apache.axis2.deployment.Deploy