soapBody.setNamespaceURI(namespaceURI);
soapBody.setNamespaceURI(intfNS); } else { soapBody.setNamespaceURI(targetService); soapBody.setNamespaceURI(operQName.getNamespaceURI());
soapBody.setNamespaceURI(intfNS); } else { soapBody.setNamespaceURI(targetService); soapBody.setNamespaceURI(operQName.getNamespaceURI());
soapBody.setNamespaceURI(intfNS); } else { soapBody.setNamespaceURI(targetService); soapBody.setNamespaceURI(operQName.getNamespaceURI());
protected SOAPBody createSoapBody(Service service) { String use = getUse(); SOAPBody body = new SOAPBodyImpl(); body.setUse( use ); if ( getStyle().equals( SoapConstants.STYLE_RPC ) ) { body.setNamespaceURI( service.getTargetNamespace() ); } if ( use.equals( SoapConstants.USE_ENCODED ) ) { List encodingStyles = new ArrayList(); encodingStyles.add( getSoapVersion().getSoapEncodingStyle() ); body.setEncodingStyles(encodingStyles); } return body; }
private SOAPBody getSoapBody(Class parent) throws ToolException { if (extReg == null) { extReg = wsdlFactory.newPopulatedExtensionRegistry(); } SOAPBody soapBody = null; try { soapBody = (SOAPBody)extReg.createExtension(parent, WSDLConstants.NS_SOAP_BODY); } catch (WSDLException wse) { Message msg = new Message("FAIL_TO_CREATE_SOAPBINDING", LOG); throw new ToolException(msg, wse); } soapBody.setUse((String)env.get(ToolConstants.CFG_USE)); if (WSDLConstants.RPC.equalsIgnoreCase((String)env.get(ToolConstants.CFG_STYLE)) && env.optionSet(ToolConstants.CFG_NAMESPACE)) { soapBody.setNamespaceURI((String)env.get(ToolConstants.CFG_NAMESPACE)); } return soapBody; }
soapBody.setNamespaceURI(TNS); soapBody.setEncodingStyles(UtilMisc.toList("http://schemas.xmlsoap.org/soap/encoding/"));
body.setNamespaceURI(param.getTargetNamespace());
body.setNamespaceURI(param.getTargetNamespace());
soapBody.setNamespaceURI(namespaceURI);