like this?
dim xml as xmldocument 'but in this
xml document first i have to give it the value with a correct body in xml
is
correct that?
Dim ws As New sunat.wsadpd
Dim FinalValue As New string
FinalValue = ws.verficaRUC(xml)
2012/3/9 Stephen Russell <[email protected]>
> On Tue, Mar 6, 2012 at 8:56 AM, Manuel Lazo <[email protected]> wrote:
> > Hi Mr. Stephen and Mr. Cerebrus:
> >
> > Well, I tried to do this example, look at please.
> > my web reference has like source this link =
> > "http://www.aduanet.gob.pe/ws-ad-pd/ws-ad-pd?WSDL" this is the
> original
> > source about the WS.
> > I want to use the operation "verficaRUC", how it work? :
> >
> > I have to send to parameter with value of example ="20501638651" after
> the
> > operation "verficaRUC" has to return a value in STRING .
> >
> > this link es the operation :
> > http://www.aduanet.gob.pe/ws-ad-pd/ws-ad-pd?operation.view=verficaRUC
> >
> > you write a value of 11 characters after click in the button and u have
> to
> > response a body of xml.
> >
> >
> > but.... this is the moment when i have problems. I show the error in
> click
> > event.
> >
> >
> > in spanish : El cliente encontrĂ³ el tipo de contenido de respuesta
> > 'text/plain', pero se esperaba 'text/xml'
> >
> > English : the customer found the kind of content of answer is
> 'text/plain',
> > but is waiting 'text/xml'
> -----------------
>
> put your value "20501638651" into an xml document first and then copy
> that value to their ws. Just a guess from the error text you are
> getting.
>
>
>
> --
> Stephen Russell
>
> 901.246-0159 cell
>
> --
> You received this message because you are subscribed to the Google
> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
> Web Services,.NET Remoting" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
> or visit the group website at http://megasolutions.net
>
--
Manuel Lazo.
--
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net