Author: ajith
Date: Tue Jul 18 22:06:07 2006
New Revision: 423368
URL: http://svn.apache.org/viewvc?rev=423368&view=rev
Log:
1.Removed the getElement(xx) method from the stub base class. it is not used in
the generated code anymore!
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Stub.java
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Stub.java
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Stub.java?rev=423368&r1=423367&r2=423368&view=diff
==============================================================================
---
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Stub.java
(original)
+++
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Stub.java
Tue Jul 18 22:06:07 2006
@@ -56,26 +56,6 @@
return getFactory(options.getSoapVersionURI()).getDefaultEnvelope();
}
- /**
- * A util method that extracts the correct element.
- *
- * @param env
- * @param type
- * @return the relevant element to be databound
- */
- protected OMElement getElement(SOAPEnvelope env, String type) {
- SOAPBody body = env.getBody();
- OMElement element = body.getFirstElement();
-
- if (WSDLConstants.STYLE_RPC.equals(type)) {
- return element.getFirstElement(); // todo this needs to be fixed
- } else if (WSDLConstants.STYLE_DOC.equals(type)) {
- return element;
- } else {
- throw new UnsupportedOperationException(Messages
- .getMessage("unsupportedType"));
- }
- }
protected OMElement getElementFromReader(XMLStreamReader reader) {
StAXOMBuilder builder =
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]