Re: Error : org.apache.axis2.databinding.ADBExcepion:Unexpected subelement AuthInfo
HI Vaibhav, I only tested to call under delphi 2007. 2008/3/13, Vaibhav Gulati <[EMAIL PROTECTED]>: > > Hi, > > > > Can anyone tell me how would the code for client look like for this WSDL? > > Sorry for deviating the topic. > > > > VG > > > -- > > *From:* MailList Ryan [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, March 13, 2008 3:33 PM > *To:* axis-user@ws.apache.org > *Subject:* Error : > org.apache.axis2.databinding.ADBExcepion:Unexpectedsubelement AuthInfo > > > > Dear all : > I user Aixs2 1.3 .First i user axis2java command build a webservice from > a wsdl, then I delploy it on axis2 under tomcat 5.5.12. Every thing goes > well, but when i call this web service use delphi 2007 , error occured . > When call the web service in delphi, here raise a " > org.apache.axis2.databinding > > .ADBExcepion:Unexpected subelement AuthInfo " exception. I had searched > achieved mails, some one said that this error mostly caused by wrong name > spaces of wsdl file. I had checked my wsdl file again and again and valid it > wiht netbean and cxf validate tools, but all those tools said that the wsdl > file is correct. I am fighting with this problem for nearly one week, but do > not have any progress. Can anyone help ? Any idea or suggest will be highly > appreciated. > > WSDL file and soap message for request and response can be found in the > following. > > Thanks > Ryan. > > WSDL file > > targetNamespace = "http://example.com"; > xmlns:tns ="http://example.com"; > xmlns:wsoap12 ="http://schemas.xmlsoap.org/wsdl/soap12/"; > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; > xmlns:xs ="http://www.w3.org/2001/XMLSchema";> > > targetNamespace="http://example.com"; > blockDefault="#all" > elementFormDefault="qualified"> > > > nillable="true" type="xs:string"/> > nillable="true" type="xs:string"/> > nillable="true" type="xs:string"/> > > > > > > nillable="true" type="xs:string"/> > > > > > > > nillable="true" type="tns:AuthInfo"/> > > > > > > > > > > > > > > > > > > > > http://schemas.xmlsoap.org/soap/http"; > style="document"/> > > soapAction="http://example.com/Test/HelloWorldRequest"; > soapActionRequired="true" style="document"/> > > > > > > > > > > binding="tns:TestSoap12Binding"> > http://localhost/helloword"/> > > > > > SOAP for request > > http://schemas.xmlsoap.org/soap/envelope/"; > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd=" > http://www.w3.org/2001/XMLSchema";> > http://example.com"; SOAP-ENV:encodingStyle=" > http://schemas.xmlsoap.org/soap/encoding/";> > http://example.com";> > > > > > > > test username > authpass > timestamp > > > > > SOAP for response > > > http://schemas.xmlsoap.org/soap/envelope/ > "> > > > soapenv:Server > org.apache.axis2.databinding.ADBException: Unexpected > subelement AuthInfo > > > > > > *DISCLAIMER:* > > This message (including attachment if any) is confidential and may be > privileged. If you have received this message by mistake please notify the > sender by return e-mail and delete this message from your system. Any > unauthorized use or dissemination of this message in whole or in part is > strictly prohibited. > > E-mail may contain viruses. Before opening attachments please check them > for viruses and defects. While MindTree Consulting Limited (MindTree) has > put in place checks to minimize the risks, MindTree will not be responsible > for any viruses or defects or any forwarded attachments emanating either > from within MindTree or outside. > > Please note that e-mails are susceptible to change and MindTree shall not > be liable for any improper, untimely or incomplete transmission. > > MindTree reserves the right to monitor and review the content of all > messages sent to or from MindTree e-mail address. Messages sent to or from > this e-mail address may be stored on the MindTree e-mail system or else > where. >
RE: Error : org.apache.axis2.databinding.ADBExcepion:Unexpected subelement AuthInfo
Hi, Can anyone tell me how would the code for client look like for this WSDL? Sorry for deviating the topic. VG From: MailList Ryan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 3:33 PM To: axis-user@ws.apache.org Subject: Error : org.apache.axis2.databinding.ADBExcepion:Unexpected subelement AuthInfo Dear all : I user Aixs2 1.3 .First i user axis2java command build a webservice from a wsdl, then I delploy it on axis2 under tomcat 5.5.12. Every thing goes well, but when i call this web service use delphi 2007 , error occured . When call the web service in delphi, here raise a " org.apache.axis2.databinding .ADBExcepion:Unexpected subelement AuthInfo " exception. I had searched achieved mails, some one said that this error mostly caused by wrong name spaces of wsdl file. I had checked my wsdl file again and again and valid it wiht netbean and cxf validate tools, but all those tools said that the wsdl file is correct. I am fighting with this problem for nearly one week, but do not have any progress. Can anyone help ? Any idea or suggest will be highly appreciated. WSDL file and soap message for request and response can be found in the following. Thanks Ryan. WSDL file http://example.com <http://example.com/> " xmlns:tns ="http://example.com <http://example.com/> " xmlns:wsoap12 ="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xs ="http://www.w3.org/2001/XMLSchema";> http://example.com <http://example.com/> " blockDefault="#all" elementFormDefault="qualified"> http://schemas.xmlsoap.org/soap/http"; style="document"/> http://example.com/Test/HelloWorldRequest"; soapActionRequired="true" style="document"/> http://localhost/helloword"/> SOAP for request http://schemas.xmlsoap.org/soap/envelope/ <http://schemas.xmlsoap.org/soap/envelope/> " xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> http://example.com <http://example.com/> " SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";> http://example.com <http://example.com/> "> test username authpass timestamp SOAP for response http://schemas.xmlsoap.org/soap/envelope/ <http://schemas.xmlsoap.org/soap/envelope/> "> soapenv:Server org.apache.axis2.databinding.ADBException: Unexpected subelement AuthInfo DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.
Error : org.apache.axis2.databinding.ADBExcepion:Unexpected subelement AuthInfo
Dear all : I user Aixs2 1.3 .First i user axis2java command build a webservice from a wsdl, then I delploy it on axis2 under tomcat 5.5.12. Every thing goes well, but when i call this web service use delphi 2007 , error occured . When call the web service in delphi, here raise a " org.apache.axis2.databinding.ADBExcepion:Unexpected subelement AuthInfo " exception. I had searched achieved mails, some one said that this error mostly caused by wrong name spaces of wsdl file. I had checked my wsdl file again and again and valid it wiht netbean and cxf validate tools, but all those tools said that the wsdl file is correct. I am fighting with this problem for nearly one week, but do not have any progress. Can anyone help ? Any idea or suggest will be highly appreciated. WSDL file and soap message for request and response can be found in the following. Thanks Ryan. WSDL file http://example.com"; xmlns:tns ="http://example.com"; xmlns:wsoap12 ="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xs ="http://www.w3.org/2001/XMLSchema";> http://example.com"; blockDefault="#all" elementFormDefault="qualified"> http://schemas.xmlsoap.org/soap/http"; style="document"/> http://example.com/Test/HelloWorldRequest"; soapActionRequired="true" style="document"/> http://localhost/helloword"/> SOAP for request http://schemas.xmlsoap.org/soap/envelope/"; xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd=" http://www.w3.org/2001/XMLSchema";> http://example.com"; SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/";> http://example.com";> test username authpass timestamp SOAP for response http://schemas.xmlsoap.org/soap/envelope/ "> soapenv:Server org.apache.axis2.databinding.ADBException: Unexpected subelement AuthInfo