You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Lee, Insoo" <In...@gs.com> on 2004/03/15 21:11:11 UTC

cant' compile WSDoAllReceiver.java

can't seem to compile WSDoAllReceiver.java
because setCurrentMessage is a private method of SOAPPart?
hm... I think I'm doing something wrong.. can someone shed me a bit of
light?



		SOAPPart sPart = (org.apache.axis.SOAPPart)
sm.getSOAPPart();
		
		ByteArrayOutputStream os = new ByteArrayOutputStream();
		XMLUtils.outputDOM(doc, os, true);
		String osStr = os.toString();
		if (doDebug) {
			log.debug("Processed received SOAP request");
	
log.debug(org.apache.axis.utils.XMLUtils.PrettyDocumentToString(doc));
		}
Line 183-->	sPart.setCurrentMessage(osStr, SOAPPart.FORM_STRING);


Also in line 209, SOAPHeaderElement doesn't have getLocalName()

		while (headers.hasNext()) {
			SOAPHeaderElement hE = (SOAPHeaderElement)
headers.next();
Line 209 -->		if (hE.getLocalName().equals(WSConstants.WSSE_LN)
				&&
hE.getNamespaceURI().equals(WSConstants.WSSE_NS)) {
				headerElement = hE;
				break;
			}
		}
		

Thanks
Insoo

RE: cant' compile WSDoAllReceiver.java

Posted by Anderson Jonathan <an...@bah.com>.
Try compiling WSS4J with the Axis 1.2 alpha build (axis.jar) that is
included in the /lib directory of the CVS checkout.

	-Jon

-----Original Message-----
From: Lee, Insoo [mailto:Insoo.Lee@gs.com]
Sent: Monday, March 15, 2004 3:11 PM
To: 'fx-dev@ws.apache.org'
Subject: cant' compile WSDoAllReceiver.java



can't seem to compile WSDoAllReceiver.java
because setCurrentMessage is a private method of SOAPPart?
hm... I think I'm doing something wrong.. can someone shed me a bit of
light?



		SOAPPart sPart = (org.apache.axis.SOAPPart)
sm.getSOAPPart();

		ByteArrayOutputStream os = new ByteArrayOutputStream();
		XMLUtils.outputDOM(doc, os, true);
		String osStr = os.toString();
		if (doDebug) {
			log.debug("Processed received SOAP request");

log.debug(org.apache.axis.utils.XMLUtils.PrettyDocumentToString(doc));
		}
Line 183-->	sPart.setCurrentMessage(osStr, SOAPPart.FORM_STRING);


Also in line 209, SOAPHeaderElement doesn't have getLocalName()

		while (headers.hasNext()) {
			SOAPHeaderElement hE = (SOAPHeaderElement)
headers.next();
Line 209 -->		if (hE.getLocalName().equals(WSConstants.WSSE_LN)
				&&
hE.getNamespaceURI().equals(WSConstants.WSSE_NS)) {
				headerElement = hE;
				break;
			}
		}


Thanks
Insoo