Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8695747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:06:43+00:00 2026-06-13T01:06:43+00:00

My web services are rusty so I hope I’m just missing something kind of

  • 0

My web services are rusty so I hope I’m just missing something kind of obvious.

I have a WCF service that, in part, relays calls it receives to a third party SOAP service. The service receives an object that matches the body of the SOAP message that needs to be sent.

I’ve added a service reference based on the SOAP service’s WSDL to the project and created and instance of the service proxy class. The service method I want to call has 30+ parameters.

I could call it with MyService.TheMethod(obj.value1, obj.value2, obj.value3...), but it would be nice to just pass the original object on or XML serialize it and pass the XML as a body.

Is there something that would allow an easier approach or do I need to individually pass obj’s properties onto the SOAP method?

UPDATE

Clarifying the underlying issue.

My .NET service accepts something “Group”

public class Person { string Name; int Age;}
public class Group { string Name; Person[] Individuals; }

I then need to call the third party web service (TPWS). The proxy class generated from the WSDL winds up like:

public class WSPerson { string Name; uint Age;}
public class WSGroup { string Name; WSPerson[] Individuals; }

I’d been doing earlier prototyping and working with the TPWS through SoapUI and using tags matching my original (.NET) classes’ naming:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.myabc123.com" xmlns:ns="http://schemas.datacontract.org/2004/07/" xmlns:sys="http://schemas.datacontract.org/2004/07/System" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header>
      <ws:ServiceCredentials>
         <ws:SubscriberId>ABC</ws:SubscriberId>
         <ws:SubscriberUser>Joe</ws:SubscriberUser>
         <ws:SubscriberPassword>12345</ws:SubscriberPassword>
         <!--Optional:-->
         <ws:SubscriberIdentityStore></ws:SubscriberIdentityStore>
      </ws:ServiceCredentials>
   </soapenv:Header>
   <soapenv:Body>
    <Group>
      <Name>Cool People</Name>
      <Individuals>
        <Person>
          <Name>Tom</Name>
          <Age>25</Age>
        </Person>
        <Person>
          <Name>Jane</Name>
          <Age>27</Age>
        </Person>
      </Individuals>
    </Group>
   </soapenv:Body>
</soapenv:Envelope> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:06:44+00:00Added an answer on June 13, 2026 at 1:06 am

    There’s no easy way to do what you want. If the service you’re calling has 30 parameters, you’ll just have to call it with 30 parameters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently we have web-services built up so that everyone (with valid service account) can
I have some REST web services implemented in WCF. I wish to make these
I have some web services that I need to reference in a Windows 8
I have multiple web services that write data inside a database table. I'd like
I am new to web services. I have written a rest web service which
i have 2 web services, both work just fine when i test them with
I have a ASMX web services running as 'network service'. I want to be
I have some web services that uses WSDL/SOAP for communication. Specifically, I am using
We have several web services that we have been deploying manually using msdeploy .
I have multiple web services (WCF) running in IIS. When the services are warm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.