Example 3 in New-WebServiceProxy help topic doesn't produce the expected result - by Aleksandar Nikolić

Status : 

 


1
0
Sign in
to vote
ID 770135 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 11/5/2012 2:21:05 PM
Access Restriction Public

Description

First, the formatting of examples in online version of a topic is messed up.

In example 2, Class is defined as ZipClass:

PS C:\> $URI = "http://www.webservicex.net/uszip.asmx?WSDL"
PS C:\>$zip = New-WebServiceProxy -uri $URI -namespace WebServiceProxy -class ZipClass

Example 3 uses the $zip variable from example 2, but the class in the output type is not ZipClass, but USZip:

PS C:\> $zip | get-member -type method
    TypeName: WebServiceProxy.USZip
Sign in to post a comment.