API文档里面有! Call:A Call object represents an RPC call. Both the client and the server use Call objects to invoke the method. Constructor Detail Callpublic Call()Callpublic Call(java.lang.String targetObjectURI, java.lang.String methodName, java.util.Vector params, Header header, java.lang.String encodingStyleURI)Callpublic Call(java.lang.String targetObjectURI, java.lang.String methodName, java.util.Vector params, Header header, java.lang.String encodingStyleURI, SOAPContext ctx)Method Detail setSOAPMappingRegistrypublic void setSOAPMappingRegistry(SOAPMappingRegistry smr)getSOAPMappingRegistrypublic SOAPMappingRegistry getSOAPMappingRegistry()setSOAPTransportpublic void setSOAPTransport(SOAPTransport st)getSOAPTransportpublic SOAPTransport getSOAPTransport()setTimeoutpublic void setTimeout(int value) Set timeout in our MessageContext. Parameters: value - the maximum amount of time, in millisecondsgetTimeoutpublic int getTimeout() Get timeout from our MessageContext. Returns: value the maximum amount of time, in millisecondsaddBodyPartpublic void addBodyPart(javax.mail.internet.MimeBodyPart part) throws javax.mail.MessagingException Add a MIME BodyPart. Parameters: part - The Part to be appended Throws: javax.mail.MessagingException - removeBodyPartpublic void removeBodyPart(javax.mail.internet.MimeBodyPart part) throws javax.mail.MessagingException Remove a MIME BodyPart.buildEnvelopepublic Envelope buildEnvelope()extractFromEnvelopepublic static Call extractFromEnvelope(Envelope env, ServiceManager svcMgr, SOAPContext ctx) throws java.lang.IllegalArgumentExceptiongetEnvelopeStringpublic static java.lang.String getEnvelopeString(SOAPTransport st) throws SOAPException, javax.mail.MessagingException, java.io.IOException Check if response root part is text/xml and return it as a String. Temporarily placing this method here - I think it will be moved to SOAPContext after a redesign of SOAPTransport interaction.invokepublic Response invoke(java.net.URL url, java.lang.String SOAPActionURI) throws SOAPException Invoke this call at the specified URL. Valid only on the client side.Service:有ServiceManager和ServiceManagerClient两个类,但是没有Service类!
tree roo t
旗 鲁 特
一直都是JB直接生成完整的中间代码...
Call:A Call object represents an RPC call. Both the client and the server use Call objects to invoke the method.
Constructor Detail
Callpublic Call()Callpublic Call(java.lang.String targetObjectURI,
java.lang.String methodName,
java.util.Vector params,
Header header,
java.lang.String encodingStyleURI)Callpublic Call(java.lang.String targetObjectURI,
java.lang.String methodName,
java.util.Vector params,
Header header,
java.lang.String encodingStyleURI,
SOAPContext ctx)Method Detail
setSOAPMappingRegistrypublic void setSOAPMappingRegistry(SOAPMappingRegistry smr)getSOAPMappingRegistrypublic SOAPMappingRegistry getSOAPMappingRegistry()setSOAPTransportpublic void setSOAPTransport(SOAPTransport st)getSOAPTransportpublic SOAPTransport getSOAPTransport()setTimeoutpublic void setTimeout(int value) Set timeout in our MessageContext. Parameters:
value - the maximum amount of time, in millisecondsgetTimeoutpublic int getTimeout() Get timeout from our MessageContext. Returns:
value the maximum amount of time, in millisecondsaddBodyPartpublic void addBodyPart(javax.mail.internet.MimeBodyPart part)
throws javax.mail.MessagingException Add a MIME BodyPart. Parameters:
part - The Part to be appended
Throws:
javax.mail.MessagingException - removeBodyPartpublic void removeBodyPart(javax.mail.internet.MimeBodyPart part)
throws javax.mail.MessagingException Remove a MIME BodyPart.buildEnvelopepublic Envelope buildEnvelope()extractFromEnvelopepublic static Call extractFromEnvelope(Envelope env,
ServiceManager svcMgr,
SOAPContext ctx)
throws java.lang.IllegalArgumentExceptiongetEnvelopeStringpublic static java.lang.String getEnvelopeString(SOAPTransport st)
throws SOAPException,
javax.mail.MessagingException,
java.io.IOException Check if response root part is text/xml and return it as a String. Temporarily placing this method here - I think it will be moved to SOAPContext after a redesign of SOAPTransport interaction.invokepublic Response invoke(java.net.URL url,
java.lang.String SOAPActionURI)
throws SOAPException Invoke this call at the specified URL. Valid only on the client side.Service:有ServiceManager和ServiceManagerClient两个类,但是没有Service类!
http://community.csdn.net/Expert/topic/5248/5248477.xml?temp=.4543421