Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Comsume #Net services.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Bruno Prieto Reis  
View profile   Translate to Translated (View Original)
 More options 1 Aug 2008, 16:24
From: Bruno Prieto Reis <bruno.p.r...@gmail.com>
Date: Fri, 1 Aug 2008 08:24:03 -0700 (PDT)
Local: Fri 1 Aug 2008 16:24
Subject: Comsume #Net services.
Hi there,

Iīm starting to learn this W.S. subject. And I need to consume two or
three services from a #Net server. ( Project Server ).
Since I dontīn know much about it I have some questions and will be
gratefull if someone can answer one or more of them:

1 - is it possible?
2 - how do I learn to do it? ( Are there tutorials on the net ? )
3 - how do I do it?  ( are there any code examples I can use, etc? )
4 - How do I deal with complex types?
5 - How do I create a proxy to the services?
6 - Are there any issues I should be aware of, like bugs, #net
integration, #net specific types, etc...
7 - How do I do a basic http authentication?

Thanks in advance for any help provided.

Bruno Reis


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dalibor Andzakovic  
View profile   Translate to Translated (View Original)
 More options 4 Aug 2008, 04:44
From: Dalibor Andzakovic <Dalibor.Andzako...@swerve.co.nz>
Date: Mon, 4 Aug 2008 15:44:30 +1200
Local: Mon 4 Aug 2008 04:44
Subject: RE: [phpsoa] Comsume #Net services.

Use latest PHP with SOAP extension. You don't really need SCA/SDO to consume services (but you can do it if you want to define your complex types in an xsd)

Read up on http://nz.php.net/manual/en/book.soap.php. This wil give you a good overview and pointers on http auth.

Use script from http://www.urdalen.no/wsdl2php/ to generate your proxy classes and types.

HTH

dali

  winmail.dat
4K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Charters  
View profile   Translate to Translated (View Original)
 More options 5 Aug 2008, 07:59
From: Graham Charters <gchart...@googlemail.com>
Date: Mon, 4 Aug 2008 23:59:15 -0700 (PDT)
Local: Tues 5 Aug 2008 07:59
Subject: Re: Comsume #Net services.
I just wanted to clarify the comment about xsd.  When using SCA to
consume a Web service you do not need to write an XSD because one will
already be provided as part WSDL service description.  You only need
to write an XSD when you are creating a service which uses complex
types.

Regards, Graham.

On 4 Aug, 04:44, Dalibor Andzakovic <Dalibor.Andzako...@swerve.co.nz>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dalibor Andzakovic  
View profile   Translate to Translated (View Original)
 More options 5 Aug 2008, 09:10
From: Dalibor Andzakovic <Dalibor.Andzako...@swerve.co.nz>
Date: Tue, 5 Aug 2008 20:10:19 +1200
Local: Tues 5 Aug 2008 09:10
Subject: RE: [phpsoa] Re: Comsume #Net services.

> I just wanted to clarify the comment about xsd.  When using SCA to
> consume a Web service you do not need to write an XSD because one will
> already be provided as part WSDL service description.  You only need
> to write an XSD when you are creating a service which uses complex
> types.

You know, you may be right there...

I've always passed SDO objects as complex types to consumed
webservices*.
I'll try some tests with StdClass objects as complex types. One of these
days I should really collect all my notes and put them up on the web
somewhere.
It may be worth noting that I've never tried consuming RPC/ENCODED style
SOAP with SCA either...

Dali

* by webservices I mean SOAP webservices


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Charters  
View profile   Translate to Translated (View Original)
 More options 5 Aug 2008, 09:44
From: Graham Charters <gchart...@googlemail.com>
Date: Tue, 5 Aug 2008 01:44:18 -0700 (PDT)
Local: Tues 5 Aug 2008 09:44
Subject: Re: Comsume #Net services.
Hi Dali,

You do need to pass SDO objects for consumed Web services, but my
point was, you are not responsible for writing the XSD.  Someone else
will already have done this as part of creating the WSDL.  I don't
believe StdClass objects will work.  I hope that clarifies what I
meant :-S

I believe SCA can consume various styles of soap service (e.g. rpc/
encoded), but only support creating doc/literal wrapped services.

Regards, Graham.

On 5 Aug, 09:10, Dalibor Andzakovic <Dalibor.Andzako...@swerve.co.nz>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruno Reis  
View profile   Translate to Translated (View Original)
 More options 5 Aug 2008, 12:14
From: "Bruno Reis" <bruno.p.r...@gmail.com>
Date: Tue, 5 Aug 2008 08:14:38 -0300
Local: Tues 5 Aug 2008 12:14
Subject: Re: [phpsoa] Re: Comsume #Net services.

Hi all,

I have advanced a little on this subject and I understand a little more what
is happening now.

The wsdl define two elements and then it defines a *any* node inside them
without defining all the response elements.
When I call the service the response comes with the schema definition and
the data together inside this two nodes as shown below.

My question is: how do I read and parse this response into objects that I
will be able to use later to call other services?

Thanks!!!

WSDL
----------------------
<s:element name="*ReadProjectTeamResponse*">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="*
ReadProjectTeamResult*">
              <s:complexType>
                <s:sequence>
                  <s:any namespace="
http://schemas.microsoft.com/office/project/server/webservices/TeamBu...
"/>
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>

RESPONSE (the schema and the diffgram are inside the ReadProjectTeamResult)
---------------------------
<soap:Envelope>
    <soap:Body>
      <ReadProjectTeamResponse>
        <ReadProjectTeamResult>
          <xs:schema id="ProjectTeamDataSet" targetNamespace="
http://schemas.microsoft.com/office/project/server/webservices/TeamBu..."
attributeFormDefault="qualified" elementFormDefault="qualified">
            <xs:element name="ProjectTeamDataSet" msdata:IsDataSet="true"
msdata:UseCurrentLocale="true">
              <xs:complexType>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:element name="ProjectTeam">
                   <xs:complexType>
                     <xs:sequence>
.......

          <diffgr:diffgram>
            <ProjectTeamDataSet>
              <ProjectTeam diffgr:id="ProjectTeam1" msdata:rowOrder="0">
                <PROJ_UID>afcd0792-26c1-40a2-941f-0f93a19e022f</PROJ_UID>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google