Search

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

Active

1
0
Sign in
to vote
Type: Bug
ID: 770135
Opened: 11/5/2012 2:21:05 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
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
Details (expand)
How often does this happen?
Always Happens
Have you seen this problem before in this product?
I don't know if this issue existed previously
Reproduction Steps
 
Expected Results
 

Where do you see this documentation issue.

TechNet Library
On the box help (available with get-help)
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.