Re: axis-c and apache modules...
Hi Sam, I believe you are referring to Axis2/C. Axis doesn't have a C implementation, but, a C++ implementation rather. You can of course use your own module instead of the existing one. You will have to implement the mod_axis2.c file to suit your environment. If you want any further customization, you are free to modify the entire source within src/core/transport/http/server/apache2, as long as it does comply to the headers. Regards, Senaka I am working on a project that currently has an Apache C module in it. Now I need this C code to talk to some applications via SOAP. Is axis-C what I am looking for or is that a stand alone SOAP/Web Service implementation using the Apache engine? Ideally I would like to simply add to the one existing Apache Module I have written. Sam - 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-c and apache modules...
Senaka, Ok, I am just getting into Web Services and my Apache Module is actually C++. Well a lot of it is simply C+ grin. So from looking at the http://ws.apache.org/soap/ site, I had gotten the impression that Axis2 has replaced Axis. From what you are saying Axis is C++ and Axis2 is either Java or C, correct? I can go either way, C or C++. What would you recommend? Sam On Sun, Feb 24, 2008 at 5:36 PM, Senaka Fernando [EMAIL PROTECTED] wrote: Hi Sam, I believe you are referring to Axis2/C. Axis doesn't have a C implementation, but, a C++ implementation rather. You can of course use your own module instead of the existing one. You will have to implement the mod_axis2.c file to suit your environment. If you want any further customization, you are free to modify the entire source within src/core/transport/http/server/apache2, as long as it does comply to the headers. Regards, Senaka I am working on a project that currently has an Apache C module in it. Now I need this C code to talk to some applications via SOAP. Is axis-C what I am looking for or is that a stand alone SOAP/Web Service implementation using the Apache engine? Ideally I would like to simply add to the one existing Apache Module I have written. Sam - 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] -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: I am working on a project that currently has an Apache C module in it. Now I need this C code to talk to some applications via SOAP. Is axis-C what I am looking for or is that a stand alone SOAP/Web Service implementation using the Apache engine? So your module will act like a SOAP client to an external Web service? If so, yes, you can use the client interface of Axis2/C and do that. Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: Senaka, Ok, I am just getting into Web Services and my Apache Module is actually C++. Well a lot of it is simply C+ grin. So from looking at the http://ws.apache.org/soap/ site, I had gotten the impression that Axis2 has replaced Axis. From what you are saying Axis is C++ and Axis2 is either Java or C, correct? I can go either way, C or C++. What would you recommend? Axis2/C is the new implementation with many WS-* level support. I would rather use Axis2/C :) What kind of a service do you want to consume from your module? It is an RPC style or a document style Web service? Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
On Sun, Feb 24, 2008 at 8:21 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Axis2/C is the new implementation with many WS-* level support. I would rather use Axis2/C :) Cool What kind of a service do you want to consume from your module? It is an RPC style or a document style Web service? No, I don't want to consume a server, I want to provide a service to a .Net Windows application I am developing. Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: On Sun, Feb 24, 2008 at 8:21 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Axis2/C is the new implementation with many WS-* level support. I would rather use Axis2/C :) Cool What kind of a service do you want to consume from your module? It is an RPC style or a document style Web service? No, I don't want to consume a server, I want to provide a service to a .Net Windows application I am developing. You can do that by using our Axis2/C httpd module. However, if I understood your earlier mail correctly, you want to expose your own httpd module. Or do you want to expose an existing C++ library as a Web service? Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
On Sun, Feb 24, 2008 at 9:41 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: You can do that by using our Axis2/C httpd module. However, if I understood your earlier mail correctly, you want to expose your own httpd module. Or do you want to expose an existing C++ library as a Web service? The application that I am developing is a hybrid. The current master program is the .Net Windows application. It starts up the Apache web server that is accessed by kiosks. The web application is both PHP and Apache C/C++Module. Currently all the communications between the .Net Windows app and apache is by the .Net Windows program modifying text files that are consumed by the web application. It is now time for some the web application to respond to queries from the .Net application. What I have done is added another handler to the existing Apache Module to take standard query strings and reply with XML. I would like to upgrade this to use SOAP and WSDL, ie using Web Services. The long term goal is to move the whole application to be a web based application, thus there should be a lot of Web Services being used. Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: On Sun, Feb 24, 2008 at 9:41 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: You can do that by using our Axis2/C httpd module. However, if I understood your earlier mail correctly, you want to expose your own httpd module. Or do you want to expose an existing C++ library as a Web service? The application that I am developing is a hybrid. The current master program is the .Net Windows application. It starts up the Apache web server that is accessed by kiosks. The web application is both PHP and Apache C/C++Module. Currently all the communications between the .Net Windows app and apache is by the .Net Windows program modifying text files that are consumed by the web application. It is now time for some the web application to respond to queries from the .Net application. What I have done is added another handler to the existing Apache Module to take standard query strings and reply with XML. I would like to upgrade this to use SOAP and WSDL, ie using Web Services. The long term goal is to move the whole application to be a web based application, thus there should be a lot of Web Services being used. Ok, let me present my perspective. You can use Axis2/C's httpd module and implement a service, that will wrap your current C/C++ business logic and the .NET application can communicate with the service hosted with Axis2/C's httpd module. Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
On Sun, Feb 24, 2008 at 11:32 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Ok, let me present my perspective. You can use Axis2/C's httpd module and implement a service, that will wrap your current C/C++ business logic and the .NET application can communicate with the service hosted with Axis2/C's httpd module. So do you have any tips on exactly how I might go about doing this? First off, it is the nature of Axis2/C such that the service is linked into the same module as Axis2/C or is the service normally a library that Axis2/C loads up via configuration? I get the impression it is the former, if that is the case, how might I go about blending the Axis2/C module with my existing module? Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
On Sun, 2008-02-24 at 23:48 -0500, Sam Carleton wrote: On Sun, Feb 24, 2008 at 11:32 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Ok, let me present my perspective. You can use Axis2/C's httpd module and implement a service, that will wrap your current C/C++ business logic and the .NET application can communicate with the service hosted with Axis2/C's httpd module. So do you have any tips on exactly how I might go about doing this? Please follow [1]. First off, it is the nature of Axis2/C such that the service is linked into the same module as Axis2/C or is the service normally a library that Axis2/C loads up via configuration? Yes service is a library Axis2/C loads up through the configuration. Follow [2] on how to deploy a service in Axis2/C. [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2 [2] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#quick_start I get the impression it is the former, if that is the case, how might I go about blending the Axis2/C module with my existing module? Sam - 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-c and apache modules...
Hi Sam, As I added before to this discussion, I believe that you could use either of the two options, 1. Adding mod_axis2 2. Adding mod_existing (+ mod_axis2 features) The manual caters for 1, which actually targets users, developers like you seeking for option 2, will rather have to browse through the header files, to understand the inner workings of Axis2/C. However, as I said before, I believe that if you could add the functionality in mod_axis2.c (just this single file), into your module, and add to it the other files in src/core/transport/http/server/apache2, which are support methods and API extensions, you can improve your module to include Axis2/C support. Thus, you will require just only your module being deployed in your apache server instance, instead of having two. Regards, Senaka On Sun, 2008-02-24 at 23:48 -0500, Sam Carleton wrote: On Sun, Feb 24, 2008 at 11:32 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Ok, let me present my perspective. You can use Axis2/C's httpd module and implement a service, that will wrap your current C/C++ business logic and the .NET application can communicate with the service hosted with Axis2/C's httpd module. So do you have any tips on exactly how I might go about doing this? Please follow [1]. First off, it is the nature of Axis2/C such that the service is linked into the same module as Axis2/C or is the service normally a library that Axis2/C loads up via configuration? Yes service is a library Axis2/C loads up through the configuration. Follow [2] on how to deploy a service in Axis2/C. [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2 [2] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#quick_start I get the impression it is the former, if that is the case, how might I go about blending the Axis2/C module with my existing module? Sam - 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: SCT
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.DeploymentException: Invalid services.xm l found [java] at org.apache.axis2.deployment.repository.util.ArchiveReader.pro cessServiceGroup(ArchiveReader.java:144) [java] at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDep loyer.java:78) [java] at org.apache.axis2.deployment.repository.util.DeploymentFileDat a.deploy(DeploymentFileData.java:137) [java] at org.apache.axis2.deployment.DeploymentEngine.doDeploy(Deploym entEngine.java:571) [java] at org.apache.axis2.deployment.repository.util.WSInfoList.update (WSInfoList.java:141) [java] at org.apache.axis2.deployment.RepositoryListener.update(Reposit oryListener.java:318) [java] at org.apache.axis2.deployment.RepositoryListener.checkServices( RepositoryListener.java:220) [java] at org.apache.axis2.deployment.DeploymentEngine.loadServices(Dep loymentEngine.java:118) [java] at org.apache.axis2.deployment.FileSystemConfigurator.loadServic es(FileSystemConfigurator.java:146) [java] at org.apache.axis2.context.ConfigurationContextFactory.createCo nfigurationContext(ConfigurationContextFactory.java:78) [java] at org.apache.axis2.context.ConfigurationContextFactory.createCo nfigurationContextFromFileSystem(ConfigurationContextFactory.java:180) [java] at org.apache.axis2.transport.http.SimpleHTTPServer.main(SimpleH TTPServer.java:166) [java] Caused by: org.apache.axis2.AxisFault: Invalid services.xml found [java] at org.apache.axis2.deployment.repository.util.ArchiveReader.bui ldServiceGroup(ArchiveReader.java:105) [java] at org.apache.axis2.deployment.repository.util.ArchiveReader.pro cessServiceGroup(ArchiveReader.java:137) [java] ... 11 more [java] [SimpleHTTPServer] Started I have an STS service running from sample05 and so I tried to run the Client against that but I run into encryption problems, the reason I think is that I am not setting up the client keystore with the correct keys ( I am using the keystore from sample 05) as I don't have access to the files needed to build the client keystore as defined in build.xml from http://wso2.org/repos/wso2/trunk/wsas/java/modules/samples/sts-sample/conf/ Hope you can help with this. Thanks, Hardev Ruchith Fernando [EMAIL PROTECTED] wrote: Hi Hardev, Your messages exchanges sounds fine up to the point where the callback handler accesses the STS to obtain the symm key. IMHO WS-Trust doesn't provide a specific way to obtain a key at this point of a standard WS-Trust exchange. We have you use case implemented in a slightly different approach: - Client contacts the STS and obtains a SAML token to talk to a service - The STS includes a symm key encrypted for the service within the SAML token - The RSTR (response from the STS to the client) will have that *same* symm key for the client to extract - (When using Rampart/Rahas the client uses org.apache.rahas.client.STSClient which will extract this information and bundle all of it into a org.apache.rahas.Token instance) - Now this SAML token (assertion) will be added to the Security header of the message from client to service and the symm key that is associated with the SAML token will be used to encrypt/sign the message as specified by the service policy. - At the service the SAML assertion in the Security header will be processed and the symm key will be extracted. - Processing at the service will use this extracted symm key to decrypt/verify signature where necessary. A sample client that does this sort of a message exchange is available here : [1] Now ... SCT usage scenario is usually a WS-SecureConversation scenario where rampart/rahas supports the application service it self to act as an STS. In this case since the service and the STS both are the same the symm key created is known at the service, and it is not included in the SecurityContextToken (SCT) itself. Are you sure you want to use this SCT scenario in the context of WS-SecureConversation or are you looking for a pure WS-Trust scenario as I explained above. Thanks, Ruchith 1. https://wso2.org/repos/wso2/trunk/wsas/java/modules/samples/sts-sample/src/org/wso2/wsas/sample/sts/client/Client.java On Sat, Feb 23, 2008 at 3:06 AM, Hardev Sian wrote: Hi Dimuthu, I have had a look at that sample but it doesn't provide what I am looking for. My use case is that I have acquired a SCT from an STS service. I want to now embed that token in the outgoing request which can then be accessed by a callback handler. The callback handler can access the STS to get the symmetric key for that token and encrypt the outbound data with that.
wsdl2code problem
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: xs:element name=addResponse xs:complexType xs:complexContent xs:extension base=genericResponseType/ /xs:complexContent /xs:complexType /xs:element xs:complexType name=genericResponseType xs:sequence xs:element name=error type=ErrorMessageType minOccurs=0/ /xs:sequence /xs:complexType response: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body ns1:addResponse xmlns:ns1=http://xxx.com/types; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=ns1:addResponse RequestId=2 RequestTimeStamp=2001-12-17T09:30:47.000Z ResponseTimeStamp=2008-02-24T12:39:00.546Z/ /soapenv:Body /soapenv:Envelope * This e-mail is confidential, the property of NDS Ltd and intended for the addressee only. Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. Messages sent to and from NDS may be monitored. NDS cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS. NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00 To protect the environment please do not print this e-mail unless necessary. **
Re: wsdl2code problem
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. 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: xs:element name=addResponse xs:complexType xs:complexContent xs:extension base=genericResponseType/ /xs:complexContent /xs:complexType /xs:element xs:complexType name=genericResponseType xs:sequence xs:element name=error type=ErrorMessageType minOccurs=0/ /xs:sequence /xs:complexType response: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ soapenv:Body ns1:addResponse xmlns:ns1=http://xxx.com/types; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:type=ns1:addResponseRequestId=2 RequestTimeStamp=2001-12-17T09:30: 47.000Z ResponseTimeStamp=2008-02-24T12:39:00.546Z/ /soapenv:Body / soapenv:Envelope * This e-mail is confidential, the property of NDS Ltd and intended for the addressee only. Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. Messages sent to and from NDS may be monitored. NDS cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS. NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00 To protect the environment please do not print this e-mail unless necessary. ** -- Jinyuan Zhou office phone: 818-575-9888 x439 Some people lived like they will never die and died like they have never lived
Re: SCT
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 [EMAIL PROTECTED] wrote: 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.DeploymentException: Invalid services.xm l found [java] at org.apache.axis2.deployment.repository.util.ArchiveReader.pro cessServiceGroup(ArchiveReader.java:144) [java] at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDep loyer.java:78) [java] at org.apache.axis2.deployment.repository.util.DeploymentFileDat a.deploy(DeploymentFileData.java:137) [java] at org.apache.axis2.deployment.DeploymentEngine.doDeploy(Deploym entEngine.java:571) [java] at org.apache.axis2.deployment.repository.util.WSInfoList.update (WSInfoList.java:141) [java] at org.apache.axis2.deployment.RepositoryListener.update(Reposit oryListener.java:318) [java] at org.apache.axis2.deployment.RepositoryListener.checkServices( RepositoryListener.java:220) [java] at org.apache.axis2.deployment.DeploymentEngine.loadServices(Dep loymentEngine.java:118) [java] at org.apache.axis2.deployment.FileSystemConfigurator.loadServic es(FileSystemConfigurator.java:146) [java] at org.apache.axis2.context.ConfigurationContextFactory.createCo nfigurationContext(ConfigurationContextFactory.java:78) [java] at org.apache.axis2.context.ConfigurationContextFactory.createCo nfigurationContextFromFileSystem(ConfigurationContextFactory.java:180) [java] at org.apache.axis2.transport.http.SimpleHTTPServer.main(SimpleH TTPServer.java:166) [java] Caused by: org.apache.axis2.AxisFault: Invalid services.xml found [java] at org.apache.axis2.deployment.repository.util.ArchiveReader.bui ldServiceGroup(ArchiveReader.java:105) [java] at org.apache.axis2.deployment.repository.util.ArchiveReader.pro cessServiceGroup(ArchiveReader.java:137) [java] ... 11 more [java] [SimpleHTTPServer] Started I have an STS service running from sample05 and so I tried to run the Client against that but I run into encryption problems, the reason I think is that I am not setting up the client keystore with the correct keys ( I am using the keystore from sample 05) as I don't have access to the files needed to build the client keystore as defined in build.xml from http://wso2.org/repos/wso2/trunk/wsas/java/modules/samples/sts-sample/conf/ Hope you can help with this. Thanks, Hardev Ruchith Fernando [EMAIL PROTECTED] wrote: Hi Hardev, Your messages exchanges sounds fine up to the point where the callback handler accesses the STS to obtain the symm key. IMHO WS-Trust doesn't provide a specific way to obtain a key at this point of a standard WS-Trust exchange. We have you use case implemented in a slightly different approach: - Client contacts the STS and obtains a SAML token to talk to a service - The STS includes a symm key encrypted for the service within the SAML token - The RSTR (response from the STS to the client) will have that *same* symm key for the client to extract - (When using Rampart/Rahas the client uses org.apache.rahas.client.STSClient which will extract this information and bundle all of it into a org.apache.rahas.Token instance) - Now this SAML token (assertion) will be added to the Security header of the message from client to service and the symm key that is associated with the SAML token will be used to encrypt/sign the message as specified by the service policy. - At the service the SAML assertion in the Security header will be processed and the symm key will be extracted. - Processing at the service will use this extracted symm key to decrypt/verify signature where necessary. A sample client that does this sort of a message exchange is available here : [1] Now ... SCT usage scenario is usually a WS-SecureConversation scenario where rampart/rahas supports the application service it self to act as an STS. In this case since the service and the STS both are the same the symm key created is known at the service, and it is not included in the SecurityContextToken (SCT) itself. Are you sure you want to use this SCT scenario in the context of WS-SecureConversation or are you looking for a pure WS-Trust scenario as I explained above. Thanks, Ruchith 1. https://wso2.org/repos/wso2/trunk/wsas/java/modules/samples/sts-sample/src/org/wso2/wsas/sample/sts/client/Client.java On Sat, Feb 23, 2008 at 3:06 AM, Hardev Sian wrote: Hi Dimuthu, I have had a look at that sample but it doesn't provide
how to map an exceptio to a soap fault with fault code soapenv:Client
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 resulting soap fault converted for the exception? Thanks, Jack
WSDL element restrictions
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 * This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/ received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is strictly prohibited. The information contained in this email, including any attachment sent with it, may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipient(s), or if you have received this email in error, you are asked to immediately notify the sender by telephone collect on Australia +61 1800 198 175 or by return email. You should also delete this email, and any copies, from your computer system network and destroy any hard copies produced. If not an intended recipient of this email, you must not copy, distribute or take any action(s) that relies on it; any form of disclosure, modification, distribution and/or publication of this email is also prohibited. Although Queensland Health takes all reasonable steps to ensure this email does not contain malicious software, Queensland Health does not accept responsibility for the consequences if any person's computer inadvertently suffers any disruption to services, loss of information, harm or is infected with a virus, other malicious computer programme or code that may occur as a consequence of receiving this email. Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government.