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

  • Home
  • SEARCH
  • 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 7701539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:00:41+00:00 2026-05-31T23:00:41+00:00

here is the wsdl soap field <element name=transactionCle nillable=true type=xsd:int/> when I call the

  • 0

here is the wsdl soap field

<element name="transactionCle" nillable="true" type="xsd:int"/>  

when I call the WS in PHP and I show the soap with __getLastResponse()

I get that for the transactionCle :

<transactionCle href="#id50"/>

here is the ref of the field :

<multiRef xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" id="id50" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int">12708584</multiRef>

I added a new WebReference to a wsdl provided by an Apache Server working with php.
The proxy class generated give me for the field :

private System.Nullable<int> transactionCleField;

/// <remarks/>
        [System.Xml.Serialization.SoapElementAttribute(IsNullable=true)]
        public System.Nullable<int> transactionCle {
            get {
                return this.transactionCleField;
            }
            set {
                this.transactionCleField = value;
            }
        }

Now my Problem :

When I consume the WS in php the value of transactionCle is 12708584
when I consume the WS in C# the value of transactionCle is null

If I modify manualy the proxy class from System.Nullable to int
And now C# give me the Good Value (12708584).

but when I update the Webreference I have to modify again the proxy classes.

Here is my question :
How can I :
or set transactionCle to int type without modify the proxy class?
or make the serialisation give me the Good Value?

edit : I’m not able to modify the WS php or the wsdl

  • 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-05-31T23:00:42+00:00Added an answer on May 31, 2026 at 11:00 pm

    Add the following attributes to the transactionCle-element in the wsdl

    minOccurs="1" maxOccurs="1" 
    

    Then regenerate the proxy. If it helps, then you can do three things:

    1. change the generated proxy by hand (which you already mentioned you won’t)
    2. ask the WS-owner to extend the generated wsdl. This will ensure .net compatibility of the webservice
    3. create your own proxy generator by overriding methods of the SchemaImporterExtension. Have a look here: http://msdn.microsoft.com/en-us/library/system.xml.serialization.advanced.schemaimporterextension.aspx . It also has a link to a downloadable sample.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use a simple wsdl file and make a soap call but
My question is similar to this one: need to call soap ws without wsdl
I'm trying to create a PHP soap server based on a WSDL I was
I'm trying to create proper wsdl based soap request but with no success, here
I found this question on here: PHP Soap Issue: Server was unable to process
Here's what I want to do: Given a table PeopleOutfit (id int primary key,
I have a very strange problems in a PHP Soap implementation. 1) I have
I have Soap WS on Java. Here is soap request <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:his=SCC/Lis/HistoryFormatter> <soapenv:Header/>
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: can't import schema from 'http://schemas.xmlsoap.org/soap/encoding/'
I'm getting this error, any one can help me here? <SOAP-ENV:Envelope> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>WSD</faultcode>

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.