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 8404777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:41:10+00:00 2026-06-09T22:41:10+00:00

I am feebly trying to implement a stamps.com api interface into my platform. This

  • 0

I am feebly trying to implement a stamps.com api interface into my platform. This is my first time using SOAP, I event had to recompile PHP to enable the libraries.

I’m moving along but now I’m having a problem. They support soap 1.1 and soap 1.2 requests, and when I run the following code:

$client = new SOAPClient(
    './SWSIM.wsdl',
    array(
        'trace' => 1
    )
);

I get back a successful response from my request that comes after this.

However if I add the option to use soap 1.2 like this:

$client = new SOAPClient(
    './SWSIM.wsdl',
    array(
        'trace' => 1,
        'soap_version' => SOAP_1_2
    )
);

I get the following error:

There was an exception running the extensions specified in the config file. ---> Value cannot be null. Parameter name: input

This line is not actually throwing the exception. Its the following command that throws it, but removing the soap_version is what “fixes it”. I would like to use soap 1.2 so naturally this is bugging me.

FTR The command I’m running is this:

$authData = array(
    "Credentials" => array(
        "IntegrationID" => "MYUID",
        "Username"      => "MYUSERNAME",
        "Password"      => "MYPASSWORD"
    )
);

try { 
    $objectresult = $client->AuthenticateUser($authData);
} catch (Exception $e) { 
    echo "EXCEPTION: " . $e->getMessage();
    print_r($e);
    exit;
} 

The WSDL file can be viewed here:
https://swsim.stamps.com/swsim/swsimv22.asmx?wsdl

I have also checked in with their developer support and they said:
“The message you are currently receiving is returned from whichever program you are designing your integration with. This has been commonly noted happening within Visual Basic where is creates a wrapper class that needs certain variables for the response. This could be similar to the behavior that you are experiencing. Please verify how your program language consumes a WSDL.”

I also noticed that the __soapCall method excepts an “input headers” argument. I’m not entirely sure I should be / can even use that method in my code. I suppose I should just try and play with it.

  • 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-09T22:41:12+00:00Added an answer on June 9, 2026 at 10:41 pm

    Check your WSDL file. I was using the wrong one, and it appears you may be as well. Try this one: http://developer.stamps.com/developer/downloads/files/Stamps.com_SWSIM.wsdl

    NOTE: The above is out of date. Contact stamps.com for the current wsdl!

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

Sidebar

Related Questions

When trying out http://www.feedly.com/ I noticed it automatically recognized my Twitter-name. How?
Okay, I'm thoroughly stumped on this one. I'm trying to build a menu of
Is http://feedly.com built using PHP, Java, or some other language/framework? I have googled for
long time listener. First time caller... Not strictly a PHP question as it involves
I'm trying to implement a class in a Silverlight 4 RIA Services application that
Feedly.com is kind of cool. Can you guys give me some clues about it
I'm using the feedparser library in python to retrieve news from a local newspaper
I am trying to parse Twitter RSS feeds and put the information in a
Currently my domain foo.com is handled by the wsgi script, but I require urls
I want to add three variables into the same table cell and separate them

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.