No change with "corp\\Administrator"
Still the unbuffered entity error.

-J


--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:

> It's the opposite "Domain\Administator"
> 
> On 4/11/05, John Windberg <[EMAIL PROTECTED]>
> wrote:
> > no, it was just "Administrator"
> > I just tried "Administrator\\Domain" and got the
> same
> > error.
> > The machine is domain for "corp", within
> > productsight.com, so I tried various values...
> > 
> > "Administrator\\corp"
> > "Administrator\\productsight"
> > "Administrator\\corp.productsight.com"
> > "Administrator\\productsight.com"
> > 
> > 
> > -J
> > --- Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > > my bad...Actually the nightly has this patch
> already
> > > in it. next
> > > question, is your username is in the form
> > > "user\domain"
> > >
> > > -- dims
> > >
> > > On 4/11/05, John Windberg <[EMAIL PROTECTED]>
> > > wrote:
> > > > Patch?
> > > > It says to change this, but it doesn't say
> where
> > > this
> > > > is...
> > > > (I have the nightly build jar file of axis,
> not
> > > the
> > > > source.)
> > > >
> > >
> ---------------------------------------------------
> > > >  the anwser is to change :
> > > > ((PostMethod)method).setRequestBody(new
> > > > ByteArrayInputStream(baos.toByteArray()));
> > > >
> > > > into
> > > >
> > > > RequestEntity rq = new
> > > > ByteArrayRequestEntity(baos.toByteArray());
> > > > ((PostMethod)method).setRequestEntity(rq);
> > > >
> > >
> ---------------------------------------------------
> > > >
> > > >
> > > > --- Davanum Srinivas <[EMAIL PROTECTED]>
> wrote:
> > > > > Hmm...looks like this bug still exists. try
> the
> > > > > patch mentioned here:
> > > > >
> http://issues.apache.org/jira/browse/AXIS-1850
> > > > >
> > > > > If that fixes your problem, then i will
> check it
> > > in
> > > > > ASAP :)
> > > > >
> > > > > -- dims
> > > > >
> > > > > On 4/11/05, John Windberg
> <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > > How do I create/set/use credentials?
> > > > > >
> > > > > > Steps so far...
> > > > > >
> > > > > > 1. downloaded nightly build of axis
> > > > > > 2. create eclipse project
> > > > > > 3. added all axis libs to project
> > > > > > 4. added xerces-2_5_0 libs to project
> > > > > > 5. added junit libs to project
> > > > > > 6. created ant task to generate via
> wsdl2java
> > > > > > (server is win2003/Sharepoint with MS
> > > sharepoint
> > > > > > services)
> > > > > > 7. generated client classes
> > > > > > 8. extracted client-config.wsdd
> > > > > > 9. modified such with
> > > > > >
> > > org.apache.axis.transport.http.CommonsHTTPSender
> > > > > > as transport
> > > > > > 10. run simplest method from test class
> > > > > > test1ListsSoapGetListCollection()
> > > > > >
> > > > > > Console shows:
> > > > > > - Unable to find required classes
> > > > > > (javax.activation.DataHandler and
> > > > > > javax.mail.internet.MimeMultipart).
> Attachment
> > > > > support
> > > > > > is disabled.
> > > > > > - ntlm authentication scheme selected
> > > > > > - No credentials available for NTLM <any
> > > > > > realm>@iceland:80
> > > > > >
> > > > > > junit error:
> > > > > > AxisFault
> > > > > >  faultCode:
> {http://xml.apache.org/axis/}HTTP
> > > > > >  faultSubcode:
> > > > > >  faultString: (401)Unauthorized
> > > > > >
> > > > > > 11. in test added lines before client
> call:
> > > > > >        
> binding.setUsername("Administrator");
> > > > > >         binding.setPassword("Password");
> > > > > >         value =
> binding.getListCollection();
> > > > > >
> > > > > > Now I see:
> > > > > >
> > > > >
> > > >
> > >
> >
>
{http://xml.apache.org/axis/}stackTrace:org.apache.commons.httpclient.ProtocolException:
> > > > > > Unbuffered entity enclosing request can
> not be
> > > > > > repeated.
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:483)
> > > > > >
> > > > > > and no errors in the console...
> > > > > >
> > > > > > oh, so close, so very close. At least I
> think
> > > its
> > > > > so
> > > > > > very very close...
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Davanum Srinivas -
> > > > > http://webservices.apache.org/~dims/
> > > > >
> > > >
> > >
> > >
> > > --
> > > Davanum Srinivas -
> > > http://webservices.apache.org/~dims/
> > >
> > 
> 
> 
> -- 
> Davanum Srinivas -
> http://webservices.apache.org/~dims/
> 

Reply via email to