This post has NOT been accepted by the mailing list yet.
I am attempting to create a bug in Bugzilla 3.2.7 using XMLRPC via the
stream_context_create() function in PHP 5.3.2.
The way I understand it I need 2 method calls: User.login and Bug.create.
The first one works fine, but the second one always returns me the string "faultStringLogin RequiredfaultCode410".
The first method call seems to work and I get id15 returned, along with some XML containing a method response in which member name "id" is given value 15, in a struct.
That is all the information that is returned.
The documentation says that the login method returns:
"A set of http cookies is also sent with the response.
These cookies must be sent along with any future requests to the webservice, for the duration of the session." - but nowhere does it say how. All I can see is the ID number, and I've tried many ways of putting this back into the XML code of the Bug.create, but I keep getting the same error.
Here is my full code. If anybody has any experience in this, please let me know what I'm doing wrong. Many thanks.