java - Spring WS Endpoint extract SOAP info -


After reading the document on the spring web site, it is still confused about how to remove information from a SOAP request For example, the server sent like a SOAP request:

  & lt; Soapenv: envelope xmlns: soapenv = "http://www.w3.org/2003/05/soap-envelope" xmlns: user = "http://www.mysite.com/user/schemas" & gt; & Lt; Soapenv: header / & gt; & Lt; soapenv: body & gt; & Lt; User: UserRequest & gt; & Lt ;! - You can enter the following 4 items in any order - & gt; & Lt; User: Key & gt; Key & lt; / User: Keys & gt; & Lt; User: Username & gt; Username & lt; / User: Username & gt; & Lt; User: RequesterName & gt; Reqname & lt; / User: RequesterName & gt; & Lt; User: RequesterPassword & gt; Repw & lt; / User: RequesterPassword & gt; & Lt; / User: UserRequest & gt; & Lt; / soapenv: Body & gt; & Lt; / Soapenv: envelope & gt;   

On my server side, I make a closing point:

  @Endpoint Public class userpagepoint {personal constant last string NAMESPACE_URI = "http: // www mysite.com/user/schemas "; @PayloadRoot (Namespace = NAMESPACE_URI, localPart = "UserRequest") Public Zero Handle Getuserreview () {// Remove Here ...}}   

How should I write the code to extract here?

I will suggest a look at the code ideas, depending on whether you And what are you using. For example: Holiday Edapoint.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -