Tom Stickel

Thoughts on Software Engineering
posts - 15, comments - 2, trackbacks - 0

My Links

News

Tag Cloud

Archives

General Links

Testing WCF Web Services

Recently someone was showing me WCFStorm for testing WCF services, which is very simple to use.

However, SOAPUI certainly has a lot of power.

I needed to add an image to send to a service and noticed that references

My XML ended up looking like this:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ubox="UBoxMobileService.Interfaces" xmlns:ubox1="UBoxMobile.Data.Classes">
   <soapenv:Header/>
   <soapenv:Body>
      <ubox:UploadCustomerSignature>
         <!--Optional:-->
         <ubox:request>
            <ubox:UserIdMakingRequest>320628</ubox:UserIdMakingRequest>
            <ubox:Entity>990019</ubox:Entity>
            <ubox:TimeStamp>2010-09-23T10:00:00.0000</ubox:TimeStamp>
            <!--Optional:-->
            <ubox:ServiceCredentials>
               <!--Optional:-->
               <ubox:Username>User</ubox:Username>
               <!--Optional:-->
               <ubox:Password>mypassword</ubox:Password>
            </ubox:ServiceCredentials>
            <!--Optional:-->
            <ubox:CurrentLocation>
               <!--Optional:-->
               <ubox1:Name>t</ubox1:Name>
               <ubox1:Type>Customer</ubox1:Type>
               <!--Optional:-->
               <ubox1:LatLong>
                  <ubox1:Latitude>34</ubox1:Latitude>
                  <ubox1:Longitude>34</ubox1:Longitude>
               </ubox1:LatLong>
               <!--Optional:-->
               <ubox1:Address>
                  <!--Optional:-->
                  <ubox1:Line1>d</ubox1:Line1>
                  <!--Optional:-->
                  <ubox1:Line2>d</ubox1:Line2>
                  <!--Optional:-->
                  <ubox1:Line3>d</ubox1:Line3>
                  <!--Optional:-->
                  <ubox1:City>d</ubox1:City>
                  <!--Optional:-->
                  <ubox1:State>az</ubox1:State>
                  <!--Optional:-->
                  <ubox1:PostalCode>85295</ubox1:PostalCode>
               </ubox1:Address>
               <ubox1:CenterNumber>0</ubox1:CenterNumber>
            </ubox:CurrentLocation>
            <ubox:ContractId>9559206</ubox:ContractId>
            <ubox:DetailsId>8254262</ubox:DetailsId>
            <!--Optional:-->
            <ubox:ImageData>cid:Frs.jpg</ubox:ImageData>
            <ubox:IsSignature>true</ubox:IsSignature>
         </ubox:request>
      </ubox:UploadCustomerSignature>
   </soapenv:Body>
</soapenv:Envelope>

Print | posted on Thursday, February 02, 2012 2:25 PM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: