Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP & .NET

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
I just got off the phone with friend for whom I am developing a web service in PHP. The idea is to fetch data from a .NET based WSDL, parse the data and push it back in standard human legible forms.

He just told me that the .NET team just advised that they will jack their fees because of the added difficulties to code in .NET to interact with PHP ... They claim that as a MSW house, they normally develop only MSW solutions and having to make changes to their code just so that we can fetch data from them is not good business and so, they require more $$$

Now, call me stupid but, are they pulling his chain? Do you really need to do special coding in .NET to produce XML documents or whatever the response is out of your WSDL?

I some how feel that they are just trying to scare my "friend" out of PHP so that they get the added business of developing the application he has entrusted me with.

I know, this is not entirely PHP and it is borderline "cry me a river" but I really am looking for clarity on the valid or not valid case of ".NET" gets complicated when pushing data for platforms other than ".NET" itself. I have never asked for special treatment, just for documentation on what they send and how it is structured or mapped.

I just cannot see how this could be possible but figure I ask.

Thanks,




--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Unless their WSDL is pushing out something that is not in standard XML (very unlikely), I don't see how this would be the case either.

Technically a Web Service is like a black box. Whatever is inside it is completely irrelevant to whatever you use to connect to it. The connection is a standard regardless of programming language.

So the fact they are building the web service using .NET should have nothing to do with what you use to connect to it.







----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
As far as I know you should be able to connect to it with no issues using soap. I have used them with Coldfusion with no issues.
PHP:
$client = new SoapClient("[URL unfurl="true"]http://localhost/csharp/web_service.asmx?wsdl",[/URL]
    array(
      "trace"      => 1,		// enable trace to view what is happening
      "exceptions" => 0,		// disable exceptions
      "cache_wsdl" => 0) 		// disable any caching on the wsdl, encase you alter the wsdl server
  );

If you can't stand behind your troops, stand in front of them.
Semper Fidelis

Jim
 
@vacunita, exactly my point! This is why I think they are simply portraying a situation that does not exist and being totally dishonest to our common principle.

@jdhilljr, we are currently fetching and pushing data out ... We've found that they are replacing mission critical data with their own (say: Quote Number, Confirmation Number) thus forcing us to go back to them to get transaction relevant information between B1 (being the party providing service or product) and us ...

--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Sadly you fall under the old adage of "Whoever controls the data is in charge!"

If you can't stand behind your troops, stand in front of them.
Semper Fidelis

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top