: Could not find any schema type associated with the Element

2011-04-12 Thread fire fox
Hi All, Recently, I've generated stubs from a WSDL (SugarCRM) file which has element that refers to TWO locations. Here are my queries. 1) A warning was given by the compiler - [WARN] Could not find any schema type associated with the Element '{http://schemas.xmlsoap.org/soap/encoding/

Re: SOAPMessage.getSOAPHeaders() return null while no headers in the soap envelope

2011-04-12 Thread Ivan
Open a JIRA https://issues.apache.org/jira/browse/AXIS2-5001 for this 2011/4/12 Andreas Veithen > Ivan, > > Based on your description of the problem it is not possible to > determine if that should be considered an issue in Axiom, axis2-saaj > or axis2-jaxws. Please open a JIRA report and submit

Change pojo service name at deployment time

2011-04-12 Thread Charles Galpin
Hi there I have a pojo based service defined something like @WebService(serviceName="MyService" … public class MyService {… And in services.xml I have http://localhost:8080/axis2/MyService1 http://localhost:8080/axis2/MyService2 But I can't seem to override the service name. Even if I use a

SOAP message MUST NOT contain a Document Type Declaration(DTD)

2011-04-12 Thread Tibor Strausz
Hi list, I successfully generated java code with maven and axis2. But I can't call the SOAP method. When I do the following I get this error: Caused by: org.apache.axiom.om.OMException: SOAP message MUST NOT contain a Document Type Declaration(DTD) // wsdl https://mw20ws.manyware.eu/ifundsmw2_1

SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-04-12 Thread fire fox
Hi All, When I tried to contact a web-service (SugarCRM) using Axis2, I was getting following exception - Unsupported type http://schemas.xmlsoap.org/soap/encoding/ Array. After an exhaustive exploration, I came to know that the only solution is to generate stubs using XMLBeans option, or s

RE: SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-04-12 Thread Tibor Strausz
The diff between adb and xmlbeans for your code is small (as far is a can see) I was just playing with it. Here is my code. The first one is adb the one in comment is xmlbeans: log.info("starting"); final Ifundsmw2_111Stub stub = new Ifundsmw2_111Stub(); Ifundsmw2_111Stub