Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Android
How to mock a complete soap envelope so that wcf can understand?
Jacky Luk
Ranch Hand
Posts: 634
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope"> <s:Header> <a:Action s:mustUnderstand="1">http://tempuri.org/IEmpService/UserLogin</a:Action> <a:MessageID>urn:uuid:0b6ad865-f1f9-4699-b20c-4ef28e6d45c7</a:MessageID> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> </s:Header> <s:Body> <UserLogin xmlns="http://tempuri.org/" /> </s:Body> </s:Envelope>
I want to mock this using one of HttpURLconnection, HttpPost of this sort....
How can I do that?
Any examples?
Thanks
Jack
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
http://www.w3.org/2005/08/addressing/soap/fault
Did not understand "MustUnderstand" header(s)
Getting error while calling the .net web service from java code.
WS-Addressing 2005/08 in JAX-WS
WS-Address working example
More...