Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: Problems with adding a web reference


Message #1 by "Mia Larsson" <hdi99mla@s...> on Thu, 11 Apr 2002 09:47:45
ok, 

The easiest way is to use the .asmx file instead of the disco-file when 
you add the web reference.

/Mia 

> How nice, maybe you could share your findings with us :)


"Mia Larsson" <hdi99mla@s...> wrote in message
news:164597@p..._vb_dotnet...
>
> Donīt mind answering the question, figured it out myself....
>
> /Mia
>
>
> > Hello,
>
> > We have created a dll with a public function and it works just fine. 
But
> w> hen we try to add a web reference from the dll to a new web 
application
> w> e get the following errormessage:
>
> >  "The content type 'application/octet-stream' is not valid for an XML
>  > document."
>
> > The problems seems to come when adding the DISCO-file to the project. 
We
> h> ave also tried one example from a book, which works, but as soon as
> we
> t> ry to modify the code and update the web reference the same error
shows.
>
> >  Does anyone have a clue whatīs wrong?
>
> > Regards,
> M> ikael Collin, Mia Larsson
>
>



  Return to Index