[PHP-DEV] Do --with-sybase/Linux and --with-mssql/Win differ in functionality?

2002-12-13 Thread Markus Wolff
Hi there,

just a quick question: I was wondering if the Sybase extension on
Linux and the MSSQL extension on Windows really provide the same
functionality?

From what I´ve read in the docs, the mssql_* functions should be
accessible on a Linux box when I compile using --with-sybase.

That´s true in principle, but I´ve noticed that the following mssql
functions are undefined:

- mssql_fetch_assoc()
- mssql_field_length()
- mssql_field_name()
- mssql_field_type()

...while I can still use mssql_connect(), mssql_select_db(),
mssql_query() and mssql_fetch_array().

How can it be that some functions are there and some are not? Is this
a bug? Is it my system? Or is it just me?

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] CVS Account Request: mw21st

2002-08-13 Thread Markus Wolff

I want to use the CVS to develop PEAR packages together with other developers. At this 
time, I´m working on a new Authorisation system for PEAR together with Lukas Smith.

-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

brad lafountain said:
> One reason is xmlrpc doesn't have everything that goes along with
> soap. meaning WSDL UDDI WebServiceSecurity.
>
> and as far as i understand that xmlrpc doesn't work on windows.
>
> and with some benchmarks phpsoap so far was 3 times as fast as
> xmlrpc.

In fact, xmlrpc-epi also supports SOAP:

---[SNIP]---
As of Sept. 27, 2001, experimental support for SOAP v 1.1 has been
added to the library. This support is implemented transparently to the
application such that a single API can be used for manipulation of
values, yet both SOAP and XML-RPC can be read or written.
---[/SNIP]---

However, I did not yet have the possibility to try it out so I don´t
know whether things like WSDL and UDDI are supported.
Also, the last file release is from September 26th - doesn´t look like
a very active project.

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

Stig S. Bakken said:
> PHP already has SOAP support bundled in the xmlrpc extension, which
> is built upon the xmlrpc-epi library that we bundle.  Why can't
> people improve that instead of re-inventing more wheels in all
> shapes and sizes?  When we bundle a library, we should use it.
>
> - Stig

Unfortunately, not all (in fact, very few) providers install that
extension - as well as they don´t install many other useful but not-so-
common extensions. They´ll keep it this way unless enough people ask
for it. But as long as only few people know these extensions exist (in
part because so few providers install them), not enough people will
ask for them.

The best thinkable solutions would be:
a) Bundle a library like PEAR::SOAP with PHP that is modified in a
   way that it automatically detects if the xmlrpc-epi extension is
   installed. If so, PEAR::SOAP only acts as a wrapper class around
   the calls to the extension. Else, it uses its own, slower
   PHP routines.
b) Integrate xmlrpc-epi support as a standard extension that is
   installed by default.

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

Am Thu, 23 May 2002 10:44:36 -0700 schrieb Shane Caraveo <[EMAIL PROTECTED]>:

> SOAP::Lite has the same problem, in fact with simple stuff we've done at 
> work it's proven to be less interoperable that PEAR::SOAP when it comes 
> to dealing with .Net.  Python is also very lacking in the SOAP arena. 
> None of the scripting languages do realy well with WSDL, esp. when it 
> comes to XML Schema.  Deitrich's NuSOAP probably does better with 
> WSDL/Schema than PEAR::SOAP, but I haven't tried to stress it to find out.

Briefly browsing the mailing list archives for PHP SOAP (which has some
great information in it, I´d really like to see an "official" SOAP list
on php.net!) I have discovered quite a neat feature:

In PEAR::SOAP you need to specifically create SOAP_Value objects for all
return values. In PHP SOAP it´s possible to bind a WSDL file to the
service which then analyses the file and takes care of proper encoding
for return values.

This is extremely helpful ´cause you don´t have to scratch your head
anymore on how to create the SOAP_Value objects so that they match your
WSDL definition (something that still causes headaches for me).

Here´s the message that I found:
http://www.geocrawler.com/lists/3/SourceForge/21431/0/8578899/

I´ll probably try it out this weekend. If it works well, this would make
a great addition to PEAR::SOAP.

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

Am Thu, 23 May 2002 18:03:43 +0200 schrieb "Lukas Smith" <[EMAIL PROTECTED]>:

> I think it would make sense to create such a mailinglist.
> As I am still fairly busy with working on a merge of Metabase and PEAR
> DB called MDB (blatant plug :-) ) I can't spend as much time as I would
> wish on this topic.
> 
> For now I will try to order the feedback I get and put together a little
> static page with the content.
> 
> Basically I will take every package I find and list it there and put any
> comments people send regarding that package underneath.

Great, let´s build the ultimate guide to SOAP using PHP - I can
contribute a collection of links to articles on the topic and also some
code snippets of PEAR::SOAP server-scripts, WSDL files and VB.NET
clients that do work together (with simple datatypes).

If wanted, I can also set up a mailinglist - although I guess it would
be best to host such a list on php.net to make it look "more official".

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

Am Thu, 23 May 2002 17:12:34 +0200 schrieb "Lukas Smith" <[EMAIL PROTECTED]>:

> So feature-wise is PHP on par with SOAP::Lite?
> From what I have heard people seemed to have talked quite favourably
> about SOAP::Lite.
> 
> I assume documentation-wise PHP lags behind.

I have no knowledge of Perl which is why I have no clue what features
are/aren´t included in SOAP::Lite.

Maybe Shane knows more about it?

Regards,
  Markus
  
-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

Am Thu, 23 May 2002 14:57:45 +0200 schrieb "Lukas Smith" <[EMAIL PROTECTED]>:

> What is the current status in terms of SOAP, XMLRPC and WSDL in php?
> 
> How mature are the solutions?
> When will they be ready for primetime?
> Does anyone already use them in production (that can be used to show off
> how great the support is) or are there any other prominent examples? (I
> know the pear installer uses XMLRPC and Sebastian did something with
> Googles Webservices)

We´ve been trying to make a PEAR::SOAP webservice talk to a VB.NET SOAP
client. It does work very well when you stick to passing most primitive
datatypes around: Strings, Integers, Floats, Booleans ...

It stops being fun when you´re trying more complex structures like
resultsets from SQL-Queries. Those could be represented and passed via
SOAP as two-dimensional arrays, and in theory you could either use a
loosely typed two-dimensional array or an array of struct to represent
that data in the VB.NET client - but we did not yet manage to make the
client recognize and deserialize the SOAP data from the PHP script.

I have not the slightest idea where to start looking. I´ve read tons of
articles on SOAP and WSDL, but all in all, the quality of documentation
on this topic sucks.

PEAR::SOAP itself is as good as undocumented (at least the server part)
and the documentation for .NET webservices mostly talks about connecting
an ASP.NET webservice to a C# or VB.NET client. When it comes to making
SOAP calls to a client/server on another software platform, or even if
you just want to use SOAP-RPC encoding instead of the default
Document/Literal encoding that .NET does, the documentation is very
uncomplete.

Thing is, you _have_ to use SOAP-RPC encoding because PEAR::SOAP does
not yet support Document/Literal (in fact, Microsoft seem to be the only
ones who use this encoding method by default or even fully support it).

I guess when it comes to maturity, all available implementations in any
language still have a long way to go.

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Markus Wolff

Am Thu, 23 May 2002 15:41:28 +0200 schrieb "Lukas Smith" <[EMAIL PROTECTED]>:

> > I guess when it comes to maturity, all available implementations in
> any
> > language still have a long way to go.
> 
> Is there anything can maybe be pulled from SOAP::Lite or do they have
> similar issues?

Same there.

Regards,
  Markus

-- 
*21st Media*| Consulting, Konzeption, Produktion für die Bereiche:
Markus Wolff| Internet, Intranet, eCommerce, Content Management,
Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming
http://21st.de  | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php